Browse Source

more makefile stuff

Adam Ierymenko 9 years ago
parent
commit
ff931e53b5
2 changed files with 2 additions and 1 deletions
  1. 1 0
      make-linux.mk
  2. 1 1
      make-mac.mk

+ 1 - 0
make-linux.mk

@@ -125,6 +125,7 @@ debug:	FORCE
 	make ZT_DEBUG=1 selftest
 
 official: FORCE
+	make ZT_OFFICIAL_RELEASE=1 clean
 	make -j 4 ZT_OFFICIAL_RELEASE=1 one
 	make ZT_OFFICIAL_RELEASE=1 installer
 

+ 1 - 1
make-mac.mk

@@ -104,7 +104,7 @@ mac-dist-pkg: FORCE
 
 # For internal use only
 official: FORCE
-	make clean
+	make ZT_OFFICIAL_RELEASE=1 clean
 	make -j 4 ZT_OFFICIAL_RELEASE=1
 	make ZT_OFFICIAL_RELEASE=1 mac-dist-pkg