diff options
author | Matt Goins <mjgoins@openflows.com> | 2008-06-20 14:23:41 -0400 |
---|---|---|
committer | Matt Goins <mjgoins@openflows.com> | 2008-06-20 14:23:41 -0400 |
commit | 3a6f611a52d56b919b8c50a6e1700af43ff49578 (patch) | |
tree | 1bbbb9fef2438c47c5801ea822099c97fabdcf6f /Makefile | |
parent | b75cb97e42dd3327942d8b32cac2d9ee97e9aa4a (diff) | |
parent | 9efdaab59edb2ff4454082f6a36c9dc0d90b8885 (diff) |
Merge branch 'master' of http://lair.fifthhorseman.net/~dkg/git/monkeysphere
Conflicts:
gpg2ssh/Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1a214fc --- /dev/null +++ b/Makefile @@ -0,0 +1,27 @@ +MONKEYSPHERE_VERSION=`head -n1 debian/changelog | sed 's/.*(\([^-]*\)-.*/\1/'` + +all: keytrans + +keytrans: + $(MAKE) -C src/keytrans + +release: clean + rm -rf monkeysphere-$(MONKEYSPHERE_VERSION) + mkdir -p monkeysphere-$(MONKEYSPHERE_VERSION)/doc + ln -s ../../doc/README ../../doc/TODO ../../doc/MonkeySpec monkeysphere-$(MONKEYSPHERE_VERSION)/doc + ln -s ../COPYING ../etc ../Makefile ../man ../src monkeysphere-$(MONKEYSPHERE_VERSION) + tar -ch monkeysphere-$(MONKEYSPHERE_VERSION) | gzip -n > monkeysphere_$(MONKEYSPHERE_VERSION).orig.tar.gz + rm -rf monkeysphere-$(MONKEYSPHERE_VERSION) + +debian-package: release + tar xzf monkeysphere_$(MONKEYSPHERE_VERSION).orig.tar.gz + cp -a debian monkeysphere-$(MONKEYSPHERE_VERSION) + (cd monkeysphere-$(MONKEYSPHERE_VERSION) && debuild -uc -us) + rm -rf monkeysphere-$(MONKEYSPHERE_VERSION) + +clean: + $(MAKE) -C src/keytrans clean + # clean up old monkeysphere packages lying around as well. + rm -f monkeysphere_* + +.PHONY: all clean release debian-package |