diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-05-31 22:59:49 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-05-31 22:59:49 -0400 |
commit | 7e05800cefd742ff5991931d69cc28791a06a476 (patch) | |
tree | d475cacb980cc5e7a8c0cc887896e3ff5f2b0020 /Makefile | |
parent | 68b0b7925b24f9ba8fc10566c94cbf570cd46342 (diff) |
use autothing
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 26 |
1 files changed, 14 insertions, 12 deletions
@@ -3,20 +3,22 @@ # 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 +PACKAGE = netctl-network-online +topsrcdir = . +topoutdir = . +include $(topsrcdir)/build-aux/Makefile.head.mk -all: -install: $(install-targets) -uninstall: - rm -f -- $(install-targets) -.PHONY: all install uninstall +std.src_files = $(shell git ls-files) +std.sys_files = \ + $(sysconfdir)/netctl/hooks/network-online \ + $(prefix)/lib/systemd/system/network-online@.service \ + $(prefix)/lib/network/network-online -$(DESTDIR)/etc/netctl/hooks/network-online: netctl-hook +$(DESTDIR)$(sysconfdir)/netctl/hooks/network-online: netctl-hook install -Dm755 $< $@ -$(DESTDIR)/lib/systemd/system/network-online@.service: network-online@.service +$(DESTDIR)$(prefix)/lib/systemd/system/network-online@.service: network-online@.service install -Dm644 $< $@ -$(DESTDIR)/lib/network/network-online: network-online +$(DESTDIR)$(prefix)/lib/network/network-online: network-online install -Dm755 $< $@ + +include $(topsrcdir)/build-aux/Makefile.tail.mk |