[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
make distcheck and --prefix
From: |
Vincent Bernat |
Subject: |
make distcheck and --prefix |
Date: |
Mon, 14 Mar 2016 00:19:21 +0100 |
User-agent: |
Gnus/5.130015 (Ma Gnus v0.15) Emacs/24.5 (gnu/linux) |
Hey!
If I configure something with "./configure --sysconfdir=/etc", "make
distcheck" will fail because it will do "./configure --sysconfdir=/etc
--prefix=someotherplace" and expect everything to be installed in
someotherplace. However, if I use something like:
myconfdir = $(sysconfdir)/my
sysconf_DATA = my.conf
make distcheck will fail because it will try to create /etc/my and not
$(prefix)/etc/my. It's possible to teach "make distcheck" to use some
other options:
DISTCHECK_CONFIGURE_FLAGS = $(CONFIGURE_ARGS) \
--with-sysusersdir=no \
--with-systemdsystemunitdir=no \
--with-launchddaemonsdir=no \
--with-apparmordir=no \
--sysconfdir='$$(prefix)/etc'
(the other directories are computed from pkg-config return values).
Why isn't make distcheck not just using DESTDIR instead of --prefix?
--
But, for my own part, it was Greek to me.
-- William Shakespeare, "Julius Caesar"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- make distcheck and --prefix,
Vincent Bernat <=