summaryrefslogtreecommitdiff
path: root/extras/rule_generator
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2007-01-21 15:48:58 +0100
committerKay Sievers <kay.sievers@vrfy.org>2007-01-21 15:48:58 +0100
commit86f4ea067e9667d577a6c4af7f8ac355494eb28e (patch)
treee974b5eafd5c7a2eb1022bd874005d7e78f9f2c9 /extras/rule_generator
parent8fdad27d613807a4bfa578e378a4dcae6559399a (diff)
fix INSTALL_PROGRAM vs. INSTALL_SCRIPT
Diffstat (limited to 'extras/rule_generator')
-rw-r--r--extras/rule_generator/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/extras/rule_generator/Makefile b/extras/rule_generator/Makefile
index 810be24d2b..f023848b0b 100644
--- a/extras/rule_generator/Makefile
+++ b/extras/rule_generator/Makefile
@@ -17,10 +17,10 @@ libudevdir = ${prefix}/lib/udev
mandir = ${prefix}/usr/share/man
configdir = ${etcdir}/udev
-INSTALL = /usr/bin/install -c
+INSTALL = install -c
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644
-INSTALL_SCRIPT = ${INSTALL_PROGRAM}
+INSTALL_SCRIPT = ${INSTALL}
all: $(PROG) $(MAN_PAGES)
.PHONY: all
@@ -37,9 +37,9 @@ clean:
.PHONY: clean
install-bin: all
- $(INSTALL_PROGRAM) -D rule_generator.functions $(DESTDIR)$(libudevdir)/rule_generator.functions
- $(INSTALL_PROGRAM) -D write_cd_rules $(DESTDIR)$(libudevdir)/write_cd_rules
- $(INSTALL_PROGRAM) -D write_net_rules $(DESTDIR)$(libudevdir)/write_net_rules
+ $(INSTALL_SCRIPT) -D rule_generator.functions $(DESTDIR)$(libudevdir)/rule_generator.functions
+ $(INSTALL_SCRIPT) -D write_cd_rules $(DESTDIR)$(libudevdir)/write_cd_rules
+ $(INSTALL_SCRIPT) -D write_net_rules $(DESTDIR)$(libudevdir)/write_net_rules
$(INSTALL_DATA) -D 75-cd-aliases-generator.rules \
$(DESTDIR)$(configdir)/rules.d/75-cd-aliases-generator.rules
$(INSTALL_DATA) -D 75-persistent-net-generator.rules \