summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRémy Oudompheng <remy@archlinux.org>2011-06-19 21:01:55 +0200
committerRémy Oudompheng <remy@archlinux.org>2011-06-19 21:01:55 +0200
commit43926c44661a9f8499b3fb9775e1cfdd4aef2bdf (patch)
treec8a01d6692bd8132971db7e4cbc12689856cdb71 /Makefile
parentc45d8ae987272cc64ec84d00de44f16c69e03034 (diff)
downloadnetctl-43926c44661a9f8499b3fb9775e1cfdd4aef2bdf.tar.gz
netctl-43926c44661a9f8499b3fb9775e1cfdd4aef2bdf.tar.xz
Allow using markdown instead of pandoc, packaging fixes
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 07391a1..a0074e3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
DESTDIR=
-VERSION=2.6
+VERSION=2.6rc1
VPATH = doc
.PHONY: install docs
@@ -45,13 +45,12 @@ install-docs: docs
install -m644 contrib/* $(DESTDIR)/usr/share/doc/netcfg/contrib/
docs:
- cd docs; \
- ./make.sh
+ cd docs && ./make.sh
tarball: docs
- sed -i "s/NETCFG_VER=.*/NETCFG_VER=$(VERSION)/g" src/netcfg
+ sed -i "s/NETCFG_VER=.*/NETCFG_VER=$(VERSION)/g" scripts/netcfg
mkdir -p netcfg-$(VERSION)
- cp -r src src-wireless ifplugd wpa_actiond examples contrib man Makefile LICENSE README netcfg-$(VERSION)
+ cp -r src scripts src-wireless ifplugd wpa_actiond examples contrib man Makefile LICENSE README netcfg-$(VERSION)
tar -zcvf netcfg-$(VERSION).tar.gz netcfg-$(VERSION)
rm -rf netcfg-$(VERSION)