summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-10-26 00:08:15 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-10-26 00:08:15 -0400
commit6029b901d5db6824851b15194b02327edcc85419 (patch)
tree78039cbfc68eed8384d3ac19c0140f0554428c30 /Makefile
initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..2202bb7
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+install-targets = \
+ $(DESTDIR)/etc/netctl/hooks/network-online \
+ $(DESTDIR)/lib/systemd/system/network-online@.service \
+ $(DESTDIR)/lib/network/network-online
+
+install: $(install-targets)
+uninstall:
+ rm -f -- $(install-targets)
+.PHONY: install uninstall
+
+$(DESTDIR)/etc/netctl/hooks/network-online: netctl-hook
+ install -Dm755 $< $@
+$(DESTDIR)/lib/systemd/system/network-online@.service: network-online@.service
+ install -Dm644 $< $@
+$(DESTDIR)/lib/network/network-online: network-online
+ install -Dm755 $< $@
+