* Support for srcdir != builddir (NIX-41).
This commit is contained in:
parent
9d72bf8835
commit
b5988004d6
16 changed files with 37 additions and 34 deletions
|
|
@ -14,9 +14,9 @@ relname:
|
|||
|
||||
install-data-local: init-state
|
||||
$(INSTALL) -d $(DESTDIR)$(sysconfdir)/nix
|
||||
$(INSTALL_DATA) nix.conf.example $(DESTDIR)$(sysconfdir)/nix
|
||||
$(INSTALL_DATA) $(srcdir)/nix.conf.example $(DESTDIR)$(sysconfdir)/nix
|
||||
if ! test -e $(DESTDIR)$(sysconfdir)/nix/nix.conf; then \
|
||||
$(INSTALL_DATA) nix.conf.example $(DESTDIR)$(sysconfdir)/nix/nix.conf; \
|
||||
$(INSTALL_DATA) $(srcdir)/nix.conf.example $(DESTDIR)$(sysconfdir)/nix/nix.conf; \
|
||||
fi
|
||||
|
||||
if INIT_STATE
|
||||
|
|
@ -50,4 +50,4 @@ svn-revision:
|
|||
all-local: NEWS
|
||||
|
||||
NEWS: doc/manual/NEWS.txt
|
||||
cp doc/manual/NEWS.txt NEWS
|
||||
cp $(srcdir)/doc/manual/NEWS.txt NEWS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue