diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -99,6 +99,15 @@ 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 ) + +official: force-hbversion 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-$(HB_VERSION)-Win_GUI.zip HandBrake ; rm -rf HandBrake ) + +force-hbversion: + rm -f libhb/hbversion.h + all: contrib/.contrib HandBrakeCLI contrib/.contrib: @@ -114,12 +123,18 @@ clean: @$(MAKE) --no-print-directory -C libhb clean @$(MAKE) --no-print-directory -C test clean @rm libhb/hbversion.h + @rm -f contrib/config.cache + @rm -f HandBrake HandBrake*.zip mrproper: clean @$(MAKE) --no-print-directory -C contrib mrproper endif +# +# Version Data +# + libhb/hbversion.h: echo "#ifndef HB_BUILD" > libhb/hbversion.h echo "#define HB_BUILD $(HB_BUILD)" >> libhb/hbversion.h |