2003-05-26 12:44:18 +03:00
|
|
|
bin_SCRIPTS = nix-switch nix-collect-garbage \
|
2003-07-10 16:41:28 +03:00
|
|
|
nix-pull nix-push
|
2003-04-09 15:26:48 +03:00
|
|
|
|
2003-07-13 21:58:03 +03:00
|
|
|
noinst_SCRIPTS = nix-profile.sh
|
|
|
|
|
2003-04-09 15:26:48 +03:00
|
|
|
install-exec-local:
|
|
|
|
$(INSTALL) -d $(sysconfdir)/profile.d
|
|
|
|
$(INSTALL_PROGRAM) nix-profile.sh $(sysconfdir)/profile.d/nix.sh
|
2003-05-26 01:42:19 +03:00
|
|
|
$(INSTALL) -d $(sysconfdir)/nix
|
2003-07-10 18:11:48 +03:00
|
|
|
# !!! don't overwrite local modifications
|
|
|
|
$(INSTALL_DATA) prebuilts.conf $(sysconfdir)/nix/prebuilts.conf
|
2003-07-13 21:58:03 +03:00
|
|
|
|
|
|
|
%: %.in Makefile
|
|
|
|
sed \
|
|
|
|
-e s^@prefix\@^$(prefix)^g \
|
|
|
|
-e s^@sysconfdir\@^$(sysconfdir)^g \
|
|
|
|
-e s^@localstatedir\@^$(localstatedir)^g \
|
|
|
|
< $< > $@ || rm $@
|
|
|
|
chmod +x $@
|