Date: Wed, 15 Aug 2018 21:08:42 +0000 From: <Hartmut.Brandt@dlr.de> To: <current@freebsd.org> Subject: make problem Message-ID: <611243783F62AF48AFB07BC25FA4B1062A0A4A75@DLDEFFMIMP01EXC.intra.dlr.de>
next in thread | raw e-mail | index | archive | help
Hi,
what is wrong with the following Makefile?
FILES=3D a.in b.in a b
FILESDIR=3D /tmp/foo
.include <bsd.prog.mk>
.SUFFIXES: .in
.in:
cp $(.IMPSRC) $(.TARGET)
Given that a.in and b.in exist and 'make' has been executed, 'make install'=
gives the following error:
# sudo make install
installing DIRS FILESDIR
install -d -m 0755 -o root -g wheel /tmp/foo
install -o root -g wheel -m 444 a.in /tmp/foo/a.in
install -o root -g wheel -m 444 b.in /tmp/foo/b.in
install -o root -g wheel -m 444 a /tmp/foo/a
cp _FILESINS1_a.in _FILESINS1_a
cp: _FILESINS1_a.in: No such file or directory
*** Error code 1
Stop.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?611243783F62AF48AFB07BC25FA4B1062A0A4A75>
