Makefile
changeset 1259 e15d2e210840
parent 1253 a4a1e57e8ad7
child 1309 5f52c9e8b9b0
equal deleted inserted replaced
1258:c12bdfcd421c 1259:e15d2e210840
   179 LOGO_PNG_FILES := $(patsubst %,dist/misc/logo-%.png,$(LOGO_DIM))
   179 LOGO_PNG_FILES := $(patsubst %,dist/misc/logo-%.png,$(LOGO_DIM))
   180 FAVICON := dist/www/favicon.png
   180 FAVICON := dist/www/favicon.png
   181 
   181 
   182 EL_FILES := $(wildcard misc/*.el)
   182 EL_FILES := $(wildcard misc/*.el)
   183 
   183 
   184 DISTREL_TARBALLS = dist/$(fullpkgname).tar.gz dist/$(fullpkgname).zip
   184 DISTREL_TARBALLS = dist/$(fullpkgname).zip # dist/$(fullpkgname).tar.gz
   185 DISTSRC_TARBALLS = dist/$(fullpkgname)_src.tar.gz # dist/$(fullpkgname)_src.zip
   185 DISTSRC_TARBALLS = dist/$(fullpkgname)_src.zip # dist/$(fullpkgname)_src.tar.gz
   186 
   186 
   187 ################################################################
   187 ################################################################
   188 # Install/uninstall targets.
   188 # Install/uninstall targets.
   189 
   189 
   190 .PHONY: install
   190 .PHONY: install
   444 
   444 
   445 dist/$(fullpkgname)_src.tar.gz: $(DISTSRC_GADICT_FILES) $(DISTSRC_GAPHRASE_FILES) $(DISTSRC_GADIALOG_FILES) \
   445 dist/$(fullpkgname)_src.tar.gz: $(DISTSRC_GADICT_FILES) $(DISTSRC_GAPHRASE_FILES) $(DISTSRC_GADIALOG_FILES) \
   446   $(DISTSRC_PY_FILES) $(DISTSRC_RST_FILES) $(DISTSRC_TMPL_FILES) $(DISTSRC_BUILD_SCRIPTS) $(BUILD_SCRIPTS)
   446   $(DISTSRC_PY_FILES) $(DISTSRC_RST_FILES) $(DISTSRC_TMPL_FILES) $(DISTSRC_BUILD_SCRIPTS) $(BUILD_SCRIPTS)
   447 	rm -rf $@
   447 	rm -rf $@
   448 	tar zcf $@ -C dist/ $(fullpkgname)_src
   448 	tar zcf $@ -C dist/ $(fullpkgname)_src
       
   449 
       
   450 dist/$(fullpkgname)_src.zip: $(DISTSRC_GADICT_FILES) $(DISTSRC_GAPHRASE_FILES) $(DISTSRC_GADIALOG_FILES) \
       
   451   $(DISTSRC_PY_FILES) $(DISTSRC_RST_FILES) $(DISTSRC_TMPL_FILES) $(DISTSRC_BUILD_SCRIPTS) $(BUILD_SCRIPTS)
       
   452 	rm -rf $@
       
   453 	cd $(dir $@) && zip -r $(notdir $@) $(fullpkgname)_src
   449 
   454 
   450 $(DISTSRC_GADICT_FILES) $(DISTSRC_GAPHRASE_FILES) $(DISTSRC_GADIALOG_FILES): dist/$(fullpkgname)_src/%: % | dist/$(fullpkgname)_src/
   455 $(DISTSRC_GADICT_FILES) $(DISTSRC_GAPHRASE_FILES) $(DISTSRC_GADIALOG_FILES): dist/$(fullpkgname)_src/%: % | dist/$(fullpkgname)_src/
   451 	cp $< $@
   456 	cp $< $@
   452 
   457 
   453 $(DISTSRC_PY_FILES): dist/$(fullpkgname)_src/py/%: py/% | dist/$(fullpkgname)_src/py/
   458 $(DISTSRC_PY_FILES): dist/$(fullpkgname)_src/py/%: py/% | dist/$(fullpkgname)_src/py/