summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRémy Oudompheng <remy@archlinux.org>2011-06-19 21:55:39 +0200
committerRémy Oudompheng <remy@archlinux.org>2011-06-19 21:55:39 +0200
commit75de64fe51110f7550e1f0f4b5d5f5a7e5a7440f (patch)
treeb6d586547e32b9fcb3dbae80b8c00aab3cebc76a /Makefile
parent5ac9b45fe392a70c7325aac65ff02f572cdf1cff (diff)
downloadnetctl-75de64fe51110f7550e1f0f4b5d5f5a7e5a7440f.tar.gz
netctl-75de64fe51110f7550e1f0f4b5d5f5a7e5a7440f.tar.xz
Rationalize source tree hierarchy.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 02f6695..35969d9 100644
--- a/Makefile
+++ b/Makefile
@@ -10,11 +10,12 @@ install:
$(DESTDIR)/etc/rc.d \
$(DESTDIR)/usr/share/man/{man5,man8} \
install -d $(DESTDIR)/lib/systemd/system
- # Documentation
+ # Configuration files
install -m644 config/netcfg $(DESTDIR)/etc/conf.d/netcfg
- install -m644 examples/* $(DESTDIR)/etc/network.d/examples/
- install -m644 src/iftab $(DESTDIR)/etc/iftab
- install -m644 man/*.8 $(DESTDIR)/usr/share/man/man8
+ install -m644 config/iftab $(DESTDIR)/etc/iftab
+ # Documentation
+ install -m644 docs/examples/* $(DESTDIR)/etc/network.d/examples/
+ 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
@@ -50,8 +51,9 @@ docs:
tarball: docs
sed -i "s/NETCFG_VER=.*/NETCFG_VER=$(VERSION)/g" scripts/netcfg
+ rm -rf netcfg-$(VERSION)
mkdir -p netcfg-$(VERSION)
- cp -r src scripts src-wireless ifplugd wpa_actiond examples contrib man Makefile LICENSE README netcfg-$(VERSION)
+ cp -r docs config src scripts src-wireless ifplugd wpa_actiond contrib Makefile LICENSE README netcfg-$(VERSION)
tar -zcvf netcfg-$(VERSION).tar.gz netcfg-$(VERSION)
rm -rf netcfg-$(VERSION)