summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--[l---------]Makefile26
1 files changed, 25 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4ecdba5..215a0ba 120000..100644
--- a/Makefile
+++ b/Makefile
@@ -1 +1,25 @@
-build-aux/Makefile.README.mk \ No newline at end of file
+# Copyright © 2015 Luke Shumaker <lukeshu@sbcglobal.net>
+# This work is free. You can redistribute it and/or modify it under the
+# terms of the Do What The Fuck You Want To Public License, Version 2,
+# as published by Sam Hocevar. See the COPYING file for more details.
+
+PACKAGE = netctl-network-online
+VERSION = 20160101
+
+topsrcdir ?= .
+topoutdir ?= .
+include $(topsrcdir)/build-aux/Makefile.head.mk
+
+files.sys.all = \
+ $(sysconfdir)/netctl/hooks/network-online \
+ $(prefix)/lib/systemd/system/network-online@.service \
+ $(prefix)/lib/network/network-online
+
+$(DESTDIR)$(sysconfdir)/netctl/hooks/network-online: netctl-hook
+ install -Dm755 $< $@
+$(DESTDIR)$(prefix)/lib/systemd/system/network-online@.service: network-online@.service
+ install -Dm644 $< $@
+$(DESTDIR)$(prefix)/lib/network/network-online: network-online
+ install -Dm755 $< $@
+
+include $(topsrcdir)/build-aux/Makefile.tail.mk