summaryrefslogtreecommitdiff
path: root/Makefile
blob: 215a0ba6301b8e7c9c4443eca1c957d76e3c58ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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