Changeset 495
- Timestamp:
- 01/13/09 19:00:15 (10 months ago)
- Files:
-
- trunk/uploadr/Makefile (modified) (7 diffs)
- trunk/uploadr/win_installer/build_dev.nsi (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/uploadr/Makefile
r469 r495 132 132 @echo " packaging, mar: Build a single package or update but requires" 133 133 @echo " de-de, en-US, es-us, fr-fr, it-it, ko-kr, pt-br, or zh-hk" 134 @echo " dev for development build: i.e. unjared content" 134 135 135 136 all: all-build all-mar … … 181 182 ja-jp: 182 183 @echo "Building Japanese (ja-jp)" 184 dev: 185 @echo "Development Build" 183 186 184 187 packaging: … … 255 258 mkdir $(BUILD)/jar/content 256 259 mkdir $(BUILD)/jar/content/uploadr 257 cp $(SRC)/Resources/chrome/content/uploadr/*.* $(BUILD)/jar/content/uploadr/ 260 cp $(SRC)/Resources/chrome/content/uploadr/*.js $(BUILD)/jar/content/uploadr/ 261 cp $(SRC)/Resources/chrome/content/uploadr/*.xul $(BUILD)/jar/content/uploadr/ 258 262 mkdir $(BUILD)/jar/content/hacks 259 263 ifeq (mac, $(PLATFORM)) … … 277 281 mkdir $(BUILD)/jar/locale/$(INTL) 278 282 cp $(SRC)/Resources/chrome/locale/$(INTL)/*.* $(BUILD)/jar/locale/$(INTL)/ 283 ifeq (dev, $(filter dev, $(MAKECMDGOALS))) 284 sed 's/en-US/$(INTL)/g' $(SRC)/Resources/chrome/chrome.manifest > \ 285 $(RES)/chrome/chrome.manifest 286 else 279 287 sed 's/en-US/$(INTL)/g' $(SRC)/Resources/chrome/chrome.manifest.prod > \ 280 288 $(RES)/chrome/chrome.manifest 289 endif 281 290 mkdir $(BUILD)/jar/skin 282 291 #ifeq (mac, $(PLATFORM)) … … 297 306 cp $(SRC)/Resources/chrome/skin/uploadr/*.gif $(BUILD)/jar/skin/uploadr/ 298 307 cp $(SRC)/Resources/chrome/skin/uploadr/*.png $(BUILD)/jar/skin/uploadr/ 308 309 ifeq (dev, $(filter dev, $(MAKECMDGOALS))) 310 cd $(BUILD)/jar/ && mv content $(RES)/chrome/ && mv locale $(RES)/chrome/ && mv skin $(RES)/chrome/ 311 else 299 312 ifeq (win, $(PLATFORM)) 300 313 cd $(BUILD)/jar/ && zip uploadr.zip -r content locale skin … … 303 316 endif 304 317 mv $(BUILD)/jar/uploadr.zip $(RES)/chrome/uploadr.jar 318 endif 305 319 rm -rf $(BUILD)/jar 306 320 … … 353 367 $(BUILD)/config.ini 354 368 rm $(BUILD)/config-temp.ini 355 369 ifeq (dev, $(filter dev, $(MAKECMDGOALS))) 370 perl win_installer/utf16.pl \ 371 win_installer/build_dev.nsi > \ 372 $(BUILD)/build.nsi 373 else 356 374 perl win_installer/utf16.pl \ 357 375 win_installer/build.nsi > \ 358 376 $(BUILD)/build.nsi 359 377 endif 360 378 cp win_installer/vcredist_x86.exe $(BUILD)/vcredist_x86.exe 361 379