summaryrefslogtreecommitdiff
path: root/extras/rule_generator/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'extras/rule_generator/Makefile')
-rw-r--r--extras/rule_generator/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/extras/rule_generator/Makefile b/extras/rule_generator/Makefile
index cc6fe056c6..d6f1265eb9 100644
--- a/extras/rule_generator/Makefile
+++ b/extras/rule_generator/Makefile
@@ -37,12 +37,14 @@ clean:
.PHONY: clean
install-bin: all
- $(INSTALL_DATA) -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 \
+ $(INSTALL) -d $(DESTDIR)$(libudevdir)
+ $(INSTALL_DATA) rule_generator.functions $(DESTDIR)$(libudevdir)/rule_generator.functions
+ $(INSTALL_SCRIPT) write_cd_rules $(DESTDIR)$(libudevdir)/write_cd_rules
+ $(INSTALL_SCRIPT) write_net_rules $(DESTDIR)$(libudevdir)/write_net_rules
+ $(INSTALL) -d $(DESTDIR)$(configdir)/rules.d
+ $(INSTALL_DATA) 75-cd-aliases-generator.rules \
$(DESTDIR)$(configdir)/rules.d/75-cd-aliases-generator.rules
- $(INSTALL_DATA) -D 75-persistent-net-generator.rules \
+ $(INSTALL_DATA) 75-persistent-net-generator.rules \
$(DESTDIR)$(configdir)/rules.d/75-persistent-net-generator.rules
.PHONY: install-bin