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