File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -399,11 +399,15 @@ ver-set: require-var-VER
399399# The version number must be provided manually like this:
400400# VER=5.3.1 make tw5-update
401401#
402- tw5-update : ver-set $(TW5_DIR ) download-empty-tw5 download-empty-tw5x download-core-js
402+ tw5-update : ver-set
403+ @# Copy current tw5.html to tw5p.html before downloading new version
404+ cp $(EMPTIES_DIR ) /tw5.html $(EMPTIES_DIR ) /tw5p.html
405+ $(MAKE ) download-empty-tw5 download-empty-tw5x download-core-js
403406 cp $(EMPTIES_DIR ) /tw5.html $(EMPTIES_DIR ) /tw5/$(VER ) .html
404407 cp $(EMPTIES_DIR ) /tw5x.html $(EMPTIES_DIR ) /tw5x/$(VER ) .html
405408 git add \
406409 $(EMPTIES_DIR ) /tw5.html \
410+ $(EMPTIES_DIR ) /tw5p.html \
407411 $(EMPTIES_DIR ) /tw5/$(VER ) .html \
408412 $(EMPTIES_DIR ) /tw5x.html \
409413 $(EMPTIES_DIR ) /tw5x/$(VER ) .html \
You can’t perform that action at this time.
0 commit comments