From: znek Date: Wed, 28 Sep 2005 21:34:54 +0000 (+0000) Subject: Use version info from ./Version, separate mpkg and dmg creation into 2 targets X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59a43a21a2bb8740003da6962e64445fc54a1a33;p=sope Use version info from ./Version, separate mpkg and dmg creation into 2 targets git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1141 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- diff --git a/GNUmakefile b/GNUmakefile index 0b7b8afd..16bbe891 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -35,6 +35,8 @@ endif include $(GNUSTEP_MAKEFILES)/aggregate.make -include $(GNUSTEP_MAKEFILES)/GNUmakefile.postamble +include ./Version + endif distclean :: @@ -47,5 +49,7 @@ macosx-pkg :: for i in $(SUBPROJECTS); do \ (cd $$i; $(MAKE) macosx-pkg); \ done - ./maintenance/make-osxmpkg.sh SOPE-4.5 - ./maintenance/make-osxdmg.sh SOPE-4.5 osxpkgbuild "SOPE 4.5" + ./maintenance/make-osxmpkg.sh SOPE-$(MAJOR_VERSION).$(MINOR_VERSION) + +macosx-dmg :: macosx-pkg + ./maintenance/make-osxdmg.sh SOPE-$(MAJOR_VERSION).$(MINOR_VERSION) osxpkgbuild "SOPE $(MAJOR_VERSION).$(MINOR_VERSION)"