diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..aba7708 --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +# 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. + +install-targets = \ + $(DESTDIR)/etc/netctl/hooks/network-online \ + $(DESTDIR)/lib/systemd/system/network-online@.service \ + $(DESTDIR)/lib/network/network-online + +all: +install: $(install-targets) +uninstall: + rm -f -- $(install-targets) +.PHONY: all 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 $< $@ |