diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2008-09-03 17:14:16 -0400 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2008-09-03 17:14:16 -0400 |
commit | bdee166ec49a499e7203e9bf7f4bd783b5ef0232 (patch) | |
tree | 44a2b9eb5786dcec4c08aa2d82cb7c26b6ab43dd /Makefile | |
parent | 43504b118f0eb3a383687b2398b18199f6a307e7 (diff) |
we are building with the format 3.0 (git) packaging techniques now; simplify makefile. change "release" target to "tarbball", since we are not releasing this way yet.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
@@ -5,23 +5,20 @@ all: keytrans keytrans: $(MAKE) -C src/keytrans -release: clean +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 monkeysphere-$(MONKEYSPHERE_VERSION) - tar -ch monkeysphere-$(MONKEYSPHERE_VERSION) | gzip -n > monkeysphere_$(MONKEYSPHERE_VERSION).orig.tar.gz + tar -ch monkeysphere-$(MONKEYSPHERE_VERSION) | gzip -n > monkeysphere_$(MONKEYSPHERE_VERSION).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) +debian-package: + debuild -uc -us clean: $(MAKE) -C src/keytrans clean # clean up old monkeysphere packages lying around as well. rm -f monkeysphere_* -.PHONY: all clean release debian-package +.PHONY: all clean tarball debian-package |