Skip to content

Commit 94cdee3

Browse files
committed
Tweak tw5-update make task to update tw5p empty
Related to the new empty added in the previous commit.
1 parent caa5510 commit 94cdee3

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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 \

0 commit comments

Comments
 (0)