summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRémy Oudompheng <remy@archlinux.org>2011-06-18 12:52:10 +0200
committerRémy Oudompheng <remy@archlinux.org>2011-06-18 13:22:05 +0200
commit3781d2332fecb51d30d2c57fdbe31d613264a8ac (patch)
treeba04dd6c5b9e2979ea1e1993a5bf0c8bc6da099c /Makefile
parent666aa2a2a091ea457dfd6cf40ab58687164d3f80 (diff)
downloadnetctl-3781d2332fecb51d30d2c57fdbe31d613264a8ac.tar.gz
netctl-3781d2332fecb51d30d2c57fdbe31d613264a8ac.tar.xz
Makefile: add systemd service files (FS#23106)
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ec9f335..9fc643f 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ install:
$(DESTDIR)/etc/network.d/{examples,hooks,interfaces} \
$(DESTDIR)/etc/rc.d \
$(DESTDIR)/usr/share/man/{man5,man8} \
-
+ install -d $(DESTDIR)/lib/systemd/system
# Documentation
install -m644 examples/* $(DESTDIR)/etc/network.d/examples/
install -m644 src/iftab $(DESTDIR)/etc/iftab
@@ -25,6 +25,7 @@ install:
install -Dm755 ifplugd/netcfg.action $(DESTDIR)/etc/ifplugd/netcfg.action
# Daemons
install -m755 src/net-{profiles,rename} wpa_actiond/net-auto-wireless ifplugd/net-auto-wired $(DESTDIR)/etc/rc.d
+ install -m644 wpa_actiond/net-auto-wireless.service ifplugd/net-auto-wired.service $(DESTDIR)/lib/systemd/system
# Shell Completion
install -Dm644 contrib/bash-completion $(DESTDIR)/etc/bash_completion.d/netcfg
install -Dm644 contrib/zsh-completion $(DESTDIR)/usr/share/zsh/site-functions/_netcfg