diff options
author | Jouke Witteveen <j.witteveen@gmail.com> | 2012-03-04 12:19:03 +0100 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2012-03-04 12:19:03 +0100 |
commit | 5e7df6ce79c6d7217d583d45b858f958f7a2e600 (patch) | |
tree | 00a1dcd94d671060593c6b42fae9c2c96252e164 /Makefile | |
parent | a6c908d784d2d9b95a6df4c86f0a49338d7f6342 (diff) | |
download | netctl-5e7df6ce79c6d7217d583d45b858f958f7a2e600.tar.gz netctl-5e7df6ce79c6d7217d583d45b858f958f7a2e600.tar.xz |
Build documentation at buildtime
This justifies the asciidoc make dependency. Previously, pre-built documentation was supplied with the netcfg sources. Now only documentation source and the Makefile is provided.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -60,17 +60,18 @@ install-docs: docs docs: $(MAKE) -C $@ -tarball: docs - sed -i "s/NETCFG_VER=.*/NETCFG_VER=$(VERSION)/" scripts/netcfg +tarball: netcfg-$(VERSION).tar.gz +netcfg-$(VERSION).tar.gz: -rm -rf netcfg-$(VERSION) mkdir -p netcfg-$(VERSION) cp -r docs config rc.d src scripts src-wireless systemd contrib Makefile LICENSE README netcfg-$(VERSION) + sed -i "s/NETCFG_VER=.*/NETCFG_VER=$(VERSION)/" netcfg-$(VERSION)/scripts/netcfg tar -zcvf netcfg-$(VERSION).tar.gz netcfg-$(VERSION) rm -rf netcfg-$(VERSION) -upload: - md5sum netcfg-$(VERSION)*.gz > MD5SUMS.$(VERSION) - scp netcfg-$(VERSION)*.gz MD5SUMS.$(VERSION) archlinux.org:/srv/ftp/other/netcfg/ +upload: netcfg-$(VERSION).tar.gz + md5sum netcfg-$(VERSION).tar.gz > MD5SUMS.$(VERSION) + scp netcfg-$(VERSION).tar.gz MD5SUMS.$(VERSION) archlinux.org:/srv/ftp/other/netcfg/ clean: $(MAKE) -C docs clean |