From f86ca4d5aba7550d2d7800d350636314be0a08c9 Mon Sep 17 00:00:00 2001 From: Rémy Oudompheng Date: Sun, 19 Jun 2011 22:40:03 +0200 Subject: Rationalize Makefile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rémy Oudompheng --- Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8e8dff6..54f01d6 100644 --- a/Makefile +++ b/Makefile @@ -5,18 +5,16 @@ VPATH = doc .PHONY: install docs install: - install -d $(DESTDIR)/usr/lib/network/{connections,hooks} \ - $(DESTDIR)/etc/network.d/{examples,hooks,interfaces} \ - $(DESTDIR)/etc/rc.d \ - $(DESTDIR)/usr/share/man/{man5,man8} \ - install -d $(DESTDIR)/lib/systemd/system # Configuration files - install -m644 config/netcfg $(DESTDIR)/etc/conf.d/netcfg + install -d $(DESTDIR)/etc/network.d/{examples,hooks,interfaces} + install -D -m644 config/netcfg $(DESTDIR)/etc/conf.d/netcfg install -m644 config/iftab $(DESTDIR)/etc/iftab - # Documentation install -m644 docs/examples/* $(DESTDIR)/etc/network.d/examples/ + # Documentation + install -d $(DESTDIR)/usr/share/man/man8 install -m644 docs/man/*.8 $(DESTDIR)/usr/share/man/man8 # Libs + install -d $(DESTDIR)/usr/lib/network/{connections,hooks} install -m644 src/{network,rfkill,8021x,globals} $(DESTDIR)/usr/lib/network install -m755 src/connections/* $(DESTDIR)/usr/lib/network/connections ln -s wireless $(DESTDIR)/usr/lib/network/connections/wireless-dbus @@ -30,7 +28,9 @@ install: 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 # Daemons + install -d $(DESTDIR)/etc/rc.d install -m755 scripts/net-{profiles,rename} wpa_actiond/net-auto-wireless ifplugd/net-auto-wired $(DESTDIR)/etc/rc.d + install -d $(DESTDIR)/lib/systemd/system 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 -- cgit v1.2.3-24-g4f1b