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