From 59a43a21a2bb8740003da6962e64445fc54a1a33 Mon Sep 17 00:00:00 2001 From: znek Date: Wed, 28 Sep 2005 21:34:54 +0000 Subject: [PATCH] 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 --- GNUmakefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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)" -- 2.39.5