Mercurial > mxe-octave
comparison Makefile @ 2356:c15638fca657
Remove "make dist" as it is of no use anymore
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Thu, 29 Mar 2012 12:27:58 +0200 |
parents | 99516e73b368 |
children | 5a0c2bf69e55 |
comparison
equal
deleted
inserted
replaced
2355:e48270110799 | 2356:c15638fca657 |
---|---|
216 | 216 |
217 update-checksum-%: | 217 update-checksum-%: |
218 $(call DOWNLOAD_PKG_ARCHIVE,$*) | 218 $(call DOWNLOAD_PKG_ARCHIVE,$*) |
219 $(SED) -i 's/^\([^ ]*_CHECKSUM *:=\).*/\1 '"`$(call PKG_CHECKSUM,$*)`"'/' '$(TOP_DIR)/src/$*.mk' | 219 $(SED) -i 's/^\([^ ]*_CHECKSUM *:=\).*/\1 '"`$(call PKG_CHECKSUM,$*)`"'/' '$(TOP_DIR)/src/$*.mk' |
220 | 220 |
221 .PHONY: dist | |
222 dist: | |
223 rm -rf '$(DIST_DIR)' | |
224 mkdir -p '$(DIST_DIR)' | |
225 mkdir '$(DIST_DIR)/mxe' | |
226 mkdir '$(DIST_DIR)/mxe/doc' | |
227 $(SED) 's,\(<span class="target">\)[^<]*\(</span>\),\1$(TARGET)\2,g' '$(TOP_DIR)/index.html' \ | |
228 | $(SED) 's,\(<span class="target-underscore">\)[^<]*\(</span>\),\1$(subst -,_,$(TARGET))\2,g' \ | |
229 >'$(DIST_DIR)/mxe/index.html' | |
230 cp -p '$(TOP_DIR)/doc'/screenshot-* '$(DIST_DIR)/mxe/doc/' | |
231 @echo | |
232 @echo 'Upload will start in 5 seconds. Last chance to cancel! (Ctrl+C)' | |
233 @echo | |
234 @sleep 5 | |
235 mkdir '$(DIST_DIR)/web' | |
236 cd '$(DIST_DIR)/web' && cvs -d :ext:cvs.savannah.nongnu.org:/web/mingw-cross-env co mingw-cross-env | |
237 cp -p '$(DIST_DIR)/mxe/doc'/* '$(DIST_DIR)/web/mingw-cross-env/' | |
238 cd '$(DIST_DIR)/web/mingw-cross-env' && cvs add * || echo 'Errors on "cvs add" ignored.' | |
239 cd '$(DIST_DIR)/web/mingw-cross-env' && cvs commit -m 'upload' | |
240 sleep 2 # wait for the "triggered webpages update" to complete | |
241 x-www-browser \ | |
242 'http://validator.w3.org/unicorn/check?ucn_uri=http://mingw-cross-env.nongnu.org/' \ | |
243 'http://mingw-cross-env.nongnu.org/#latest-release' \ | |
244 'http://freshmeat.net/projects/mingw_cross_env/releases/new' | |
245 |