summaryrefslogtreecommitdiff
path: root/Makefile
blob: ff0ee0c86dc2abe60a44d55e34413955d1dfd7bf (plain)
  1. MONKEYSPHERE_VERSION=`head -n1 debian/changelog | sed 's/.*(\([^-]*\)-.*/\1/'`
  2. all: keytrans
  3. keytrans:
  4. $(MAKE) -C src/keytrans
  5. tarball: clean
  6. rm -rf monkeysphere-$(MONKEYSPHERE_VERSION)
  7. mkdir -p monkeysphere-$(MONKEYSPHERE_VERSION)/doc
  8. ln -s ../../website/getting-started-user.mdwn ../../website/getting-started-admin.mdwn ../../doc/TODO ../../doc/MonkeySpec monkeysphere-$(MONKEYSPHERE_VERSION)/doc
  9. ln -s ../COPYING ../etc ../Makefile ../man ../src monkeysphere-$(MONKEYSPHERE_VERSION)
  10. tar -ch monkeysphere-$(MONKEYSPHERE_VERSION) | gzip -n > monkeysphere_$(MONKEYSPHERE_VERSION).tar.gz
  11. rm -rf monkeysphere-$(MONKEYSPHERE_VERSION)
  12. debian-package:
  13. debuild -uc -us
  14. clean:
  15. $(MAKE) -C src/keytrans clean
  16. # clean up old monkeysphere packages lying around as well.
  17. rm -f monkeysphere_*
  18. .PHONY: all clean tarball debian-package