blob: d1c0ef1b11e9403ca703aea3a9939610401b79b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
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 $< $@
|