X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=Makefile;h=08880a11d4248741fb4e3ed4da90b11cd93fce45;hb=b0d2a46de1faaa3bb0be7c7742f84746e5a292d0;hp=7d13c32dbb028ba7d3ac03d7381a2575e26e400c;hpb=820957fe7d0af5ee5d916bd948b2ee0750fe73ea;p=monkeysphere.git diff --git a/Makefile b/Makefile index 7d13c32..08880a1 100755 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ # © 2008-2010 Daniel Kahn Gillmor # Licensed under GPL v3 or later -MONKEYSPHERE_VERSION = `head -n1 packaging/debian/changelog | sed 's/.*(\([^-]*\)-.*/\1/'` +MONKEYSPHERE_VERSION = `head -n1 Changelog | sed 's/.*(\([^-]*\)).*/\1/'` # these defaults are for debian. porters should probably adjust them # before calling make install @@ -19,9 +19,7 @@ all: tarball: clean rm -rf monkeysphere-$(MONKEYSPHERE_VERSION) - mkdir -p monkeysphere-$(MONKEYSPHERE_VERSION)/doc - ln -s ../../website/getting-started-user.mdwn ../../website/getting-started-admin.mdwn ../../doc/TODO ../../doc/MonkeySpec monkeysphere-$(MONKEYSPHERE_VERSION)/doc - ln -s ../COPYING ../etc ../Makefile ../man ../src ../tests monkeysphere-$(MONKEYSPHERE_VERSION) + ln -s ../Changelog ../COPYING ../etc ../Makefile ../man ../src ../tests monkeysphere-$(MONKEYSPHERE_VERSION) echo Monkeysphere $(MONKEYSPHERE_VERSION) > monkeysphere-$(MONKEYSPHERE_VERSION)/VERSION echo -n "git revision " >> monkeysphere-$(MONKEYSPHERE_VERSION)/VERSION git rev-parse HEAD >> monkeysphere-$(MONKEYSPHERE_VERSION)/VERSION @@ -67,7 +65,7 @@ install: all installman install -m 0644 src/share/m/* $(DESTDIR)$(PREFIX)/share/monkeysphere/m install -m 0644 src/share/mh/* $(DESTDIR)$(PREFIX)/share/monkeysphere/mh install -m 0644 src/share/ma/* $(DESTDIR)$(PREFIX)/share/monkeysphere/ma - install doc/* $(DESTDIR)$(PREFIX)/share/doc/monkeysphere + install Changelog $(DESTDIR)$(PREFIX)/share/doc/monkeysphere install -m 0644 etc/monkeysphere.conf $(DESTDIR)$(ETCPREFIX)/etc/monkeysphere/monkeysphere.conf$(ETCSUFFIX) install -m 0644 etc/monkeysphere-host.conf $(DESTDIR)$(ETCPREFIX)/etc/monkeysphere/monkeysphere-host.conf$(ETCSUFFIX) install -m 0644 etc/monkeysphere-authentication.conf $(DESTDIR)$(ETCPREFIX)/etc/monkeysphere/monkeysphere-authentication.conf$(ETCSUFFIX) @@ -83,8 +81,12 @@ installman: releasenote: ./utils/build-releasenote -test: - MONKEYSPHERE_TEST_NO_EXAMINE=true ./tests/keytrans +test: test-keytrans test-basic + +test-basic: MONKEYSPHERE_TEST_NO_EXAMINE=true ./tests/basic +test-keytrans: + MONKEYSPHERE_TEST_NO_EXAMINE=true ./tests/keytrans + .PHONY: all tarball debian-package freebsd-distinfo clean install installman releasenote test