Automake distcheck failure.
From: Roger Leigh (${rleigh}_at_invalid.whinlatter.ukfsn.org.invalid)
Date: 06/18/05
- Next message: Måns Rullgård: "Re: Automake distcheck failure."
- Previous message: Edward Principe: "Books on Linux programming"
- Next in thread: Måns Rullgård: "Re: Automake distcheck failure."
- Reply: Måns Rullgård: "Re: Automake distcheck failure."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 18 Jun 2005 22:51:40 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Could anyone suggest what is at fault with this simple Makefile.am?
pamdir = /etc/pam.d
pam_DATA = schroot
EXTRA_DIST = $(pam_DATA)
"make distcheck" fails:
make[4]: Entering directory `/home/rleigh/schroot/schroot-0.1.0/_build/schroot/pam'
make[4]: Nothing to be done for `install-exec-am'.
test -z "/etc/pam.d" || mkdir -p -- "/etc/pam.d"
/usr/bin/install -c -m 644 '../../../schroot/pam/schroot' '/etc/pam.d/schroot'
/usr/bin/install: cannot remove `/etc/pam.d/schroot': Permission denied
make[4]: *** [install-pamDATA] Error 1
make[4]: Leaving directory `/home/rleigh/schroot/schroot-0.1.0/_build/schroot/pam'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/home/rleigh/schroot/schroot-0.1.0/_build/schroot/pam'
For some reason, it's not using $(DESTDIR), which is used for every
circumstance except distcheck.
Is there any way around this?
(schroot/pam/Makefile.am, in
http://people.debian.org/~rleigh/schroot-0.1.0.tar.bz2)
Thanks,
Roger
- --
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
Debian GNU/Linux http://www.debian.org/
GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iD8DBQFCtJdqVcFcaSW/uEgRAjs/AJ0ROBsUD8UVM0HVvvw9I+4cilgOAgCdGuwB
oIiZytJoekICEoK7gUGgsrk=
=IMA0
-----END PGP SIGNATURE-----
- Next message: Måns Rullgård: "Re: Automake distcheck failure."
- Previous message: Edward Principe: "Books on Linux programming"
- Next in thread: Måns Rullgård: "Re: Automake distcheck failure."
- Reply: Måns Rullgård: "Re: Automake distcheck failure."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]