X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=Makefile;h=7493b1f5112924e38f92e20094967ff6e8d41234;hb=8e6fcc118095adc58335c594f50d367393d8f61a;hp=9c07f0dd5df681cc6915374e7f00ad8cb710adee;hpb=6f85cad586d60a3f3356f46febf48c9352870de9;p=monkeysphere.git diff --git a/Makefile b/Makefile old mode 100644 new mode 100755 index 9c07f0d..7493b1f --- a/Makefile +++ b/Makefile @@ -1,4 +1,11 @@ -MONKEYSPHERE_VERSION = `head -n1 debian/changelog | sed 's/.*(\([^-]*\)-.*/\1/'` +#!/usr/bin/make -f + +# Makefile for monkeysphere + +# (c) 2008 Daniel Kahn Gillmor +# Licensed under GPL v3 or later + +MONKEYSPHERE_VERSION = `head -n1 packaging/debian/changelog | sed 's/.*(\([^-]*\)-.*/\1/'` # these defaults are for debian. porters should probably adjust them # before calling make install @@ -22,7 +29,7 @@ tarball: clean debian-package: tarball tar xzf monkeysphere_$(MONKEYSPHERE_VERSION).orig.tar.gz - cp -a debian monkeysphere-$(MONKEYSPHERE_VERSION) + cp -a packaging/debian monkeysphere-$(MONKEYSPHERE_VERSION) (cd monkeysphere-$(MONKEYSPHERE_VERSION) && debuild -uc -us) rm -rf monkeysphere-$(MONKEYSPHERE_VERSION)