summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-02-20 23:43:54 +0000
committersr55 <[email protected]>2009-02-20 23:43:54 +0000
commita8a5c5cdcc3fe3bd23be8205a5837870f784c654 (patch)
tree183abf8f70f856af34351b0ad0afcc967a020793 /Makefile
parent2f2fa642088d470d2ee13adf1451eaf2fcd0af21 (diff)
Cygwin building changed slightly.
"make snapshot" and "make official" not longer create the packages. "make snapshot-release" and "make official-release" will build full zip packages. Now runs clean before each build. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2171 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 8fb332c62..bf6caf5ec 100644
--- a/Makefile
+++ b/Makefile
@@ -99,16 +99,19 @@ endif
#
ifeq ($(findstring CYGWIN_NT,$(SYSTEM)),CYGWIN_NT)
-snapshot: unstable-libhb/hbversion.h all
- (rm -rf HandBrake HandBrake*.zip ; mkdir -p HandBrake/api HandBrake/doc; cp test/BUILDSHARED AUTHORS BUILD COPYING CREDITS NEWS THANKS TRANSLATIONS HandBrake/doc ; cp -rp libhb/hb.h libhb/common.h libhb/ports.h HandBrake/api ; cp -rp HandBrakeCLI HandBrake ; cp /bin/cygwin1.dll HandBrake ; zip -r HandBrake-$(SNAP_HB_VERSION)-Win_CLI.zip HandBrake ; rm -rf HandBrake )
+snapshot: clean unstable-libhb/hbversion.h all
+official: clean force-hbversion all
-official: force-hbversion all
+snapshot-release: snapshot
+ (rm -rf HandBrake HandBrake*.zip ; mkdir -p HandBrake/api HandBrake/doc; cp test/BUILDSHARED AUTHORS BUILD COPYING CREDITS NEWS THANKS TRANSLATIONS HandBrake/doc ; cp -rp libhb/hb.h libhb/common.h libhb/ports.h HandBrake/api ; cp -rp HandBrakeCLI HandBrake ; cp /bin/cygwin1.dll HandBrake ; zip -r HandBrake-$(SNAP_HB_VERSION)-Win_CLI.zip HandBrake ; rm -rf HandBrake )
+
+official-release: official
(rm -rf HandBrake HandBrake*.zip ; mkdir -p HandBrake/api HandBrake/doc; cp test/BUILDSHARED AUTHORS BUILD COPYING CREDITS NEWS THANKS TRANSLATIONS HandBrake/doc ; cp -rp libhb/hb.h libhb/common.h libhb/ports.h HandBrake/api ; cp -rp HandBrakeCLI HandBrake ; cp /bin/cygwin1.dll HandBrake ; zip -r HandBrake-$(HB_VERSION)-Win_GUI.zip HandBrake ; rm -rf HandBrake )
force-hbversion:
rm -f libhb/hbversion.h
-all: contrib/.contrib HandBrakeCLI
+all: contrib/.contrib HandBrakeCLI
contrib/.contrib:
@$(MAKE) --no-print-directory -C contrib all
@@ -122,7 +125,7 @@ HandBrakeCLI: libhb/libhb.a
clean:
@$(MAKE) --no-print-directory -C libhb clean
@$(MAKE) --no-print-directory -C test clean
- @rm libhb/hbversion.h
+ @rm -f libhb/hbversion.h
@rm -f contrib/config.cache
@rm -f HandBrake HandBrake*.zip