From b89e9da706154a77cfc7414e45a9915a83db3caa Mon Sep 17 00:00:00 2001 From: konablend Date: Tue, 16 Jun 2009 18:26:04 +0000 Subject: BuildSystem: added OSX packaging support. - target is 'make pkg.create' which must be done after a normal build. No dependency checks are performed. - at least 1 package for all platforms is always produced: .tar.bz2 - darwin builds with Xcode add 2 packages: CLI.dmg and GUI.dmg - darwin builds sans Xcode add 1 package: CLI.dmg git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2542 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- pkg/module.defs | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pkg/module.defs (limited to 'pkg/module.defs') diff --git a/pkg/module.defs b/pkg/module.defs new file mode 100644 index 000000000..6a2281004 --- /dev/null +++ b/pkg/module.defs @@ -0,0 +1,29 @@ +$(eval $(call import.MODULE.defs,PKG,pkg)) + +PKG.in/ = $(SRC/)pkg/ +PKG.out/ = $(BUILD/)pkg/ + +PKG.src.tar.bz2 = $(PKG.out/)$(HB.name)-$(HB.version).tar.bz2 + +STAGE.src/ = $(BUILD/)stage/src/ + +############################################################################### + +define STAGE.doc + $(MKDIR.exe) -p $(1)doc + $(CP.exe) $(SRC/)AUTHORS $(1)doc + $(CP.exe) $(SRC/)COPYING $(1)doc + $(CP.exe) $(SRC/)CREDITS $(1)doc + $(CP.exe) $(SRC/)NEWS $(1)doc + $(CP.exe) $(SRC/)THANKS $(1)doc + $(CP.exe) $(SRC/)TRANSLATIONS $(1)doc +endef + +############################################################################### + +BUILD.out += $(PKG.src.tar.bz2) + +############################################################################### + +## include optional platform packaging +-include $(SRC/)pkg/$(BUILD.system)/module.defs -- cgit v1.2.3