summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index ff57a39..d72029c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,10 @@
DESTDIR=
-VERSION=2.2.1
+VERSION=2.3.0b1
VPATH = doc
install:
install -d $(DESTDIR)/usr/lib/network/connections $(DESTDIR)/etc/network.d/examples \
+ $(DESTDIR)/etc/network.d/hooks \
$(DESTDIR)/var/run/network/{interfaces,profiles} \
$(DESTDIR)/usr/bin/ $(DESTDIR)/etc/rc.d/ \
$(DESTDIR)/usr/share/man/{man5,man8}
@@ -12,7 +13,7 @@ install:
install -m644 src/iftab $(DESTDIR)/etc/iftab
install -m644 man/*.8 $(DESTDIR)/usr/share/man/man8
# Libs
- install -m644 src/{network,wireless,8021x} $(DESTDIR)/usr/lib/network
+ install -m644 src/{network,wireless_utils,8021x,globals} $(DESTDIR)/usr/lib/network
install -m755 src/connections/* ${DESTDIR}/usr/lib/network/connections
# 'Binaries'
install -m755 src/netcfg $(DESTDIR)/usr/bin/netcfg2
@@ -28,8 +29,9 @@ install-wireless:
install -m755 src-wireless/net-auto $(DESTDIR)/etc/rc.d
install-docs: docs
- install -d $(DESTDIR)/usr/share/doc/netcfg
+ install -d $(DESTDIR)/usr/share/doc/netcfg/contrib
install -m644 doc/*html $(DESTDIR)/usr/share/doc/netcfg/
+ install -m644 contrib/* $(DESTDIR)/usr/share/doc/netcfg/contrib/
docs: doc/*
for doc in $(?); do \
@@ -39,7 +41,7 @@ docs: doc/*
tarball:
sed -i "s/NETCFG_VER=.*/NETCFG_VER=$(VERSION)/g" src/netcfg
mkdir -p netcfg-$(VERSION)
- cp -r src src-wireless examples man Makefile LICENSE README netcfg-$(VERSION)
+ cp -r src src-wireless examples contrib man Makefile LICENSE README netcfg-$(VERSION)
tar -zcvf netcfg-$(VERSION).tar.gz netcfg-$(VERSION)
mv netcfg-$(VERSION).tar.gz ../
rm -rf netcfg-$(VERSION)