summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémy Oudompheng <remy@archlinux.org>2011-06-19 22:08:49 +0200
committerRémy Oudompheng <remy@archlinux.org>2011-06-19 22:08:49 +0200
commit709c4247e3c3fd69612843c1e707d08c4ab8d3bf (patch)
tree1750f28e9c7eff2c71eef41b3649db2a4b433c3f
parent75de64fe51110f7550e1f0f4b5d5f5a7e5a7440f (diff)
downloadnetctl-709c4247e3c3fd69612843c1e707d08c4ab8d3bf.tar.gz
netctl-709c4247e3c3fd69612843c1e707d08c4ab8d3bf.tar.xz
Add symlink creation in Makefile
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 35969d9..8e8dff6 100644
--- a/Makefile
+++ b/Makefile
@@ -18,12 +18,14 @@ install:
install -m644 docs/man/*.8 $(DESTDIR)/usr/share/man/man8
# Libs
install -m644 src/{network,rfkill,8021x,globals} $(DESTDIR)/usr/lib/network
- install -m755 src/connections/* ${DESTDIR}/usr/lib/network/connections
+ install -m755 src/connections/* $(DESTDIR)/usr/lib/network/connections
+ ln -s wireless $(DESTDIR)/usr/lib/network/connections/wireless-dbus
ln -s ethernet $(DESTDIR)/usr/lib/network/connections/ethernet-iproute
# Hooks
install -m755 src/hooks/* ${DESTDIR}/usr/lib/network/hooks/
# Scripts
install -Dm755 scripts/netcfg $(DESTDIR)/usr/bin/netcfg2
+ ln -s netcfg2 $(DESTDIR)/usr/bin/netcfg
install -Dm755 scripts/netcfg-menu $(DESTDIR)/usr/bin/netcfg-menu
install -m755 wpa_actiond/netcfg-wpa_actiond{,-action} ifplugd/net-auto-wired $(DESTDIR)/usr/bin
install -Dm755 ifplugd/netcfg.action $(DESTDIR)/etc/ifplugd/netcfg.action