From 511c14c6937efec42666ceb9c55a68c95486e245 Mon Sep 17 00:00:00 2001 From: Vasileios Pasialiokis <whiterocket@outlook.com> Date: Sun, 26 May 2019 02:15:16 +0300 Subject: [PATCH] make git shouldn't overwrite FC_pregmod.html --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 6ad071b25ba..fe297ad6f3c 100644 --- a/Makefile +++ b/Makefile @@ -22,10 +22,12 @@ endif all: bin/FC_pregmod.html bin/resources +git: bin/FC_pregmod_$(HASH).html bin/resources + bin/resources: resources test -L "$@" || ln -s "../$<" bin/ -bin/FC_pregmod.html: bin/FC_pregmod_tmp +bin/FC_pregmod%.html: bin/FC_pregmod_tmp git checkout -- src/gui/mainMenu/AlphaDisclaimer.tw mv $< $@ @@ -46,7 +48,4 @@ sanity: jsanity: ./sanityCheck.sh java -git: all - mv bin/FC_pregmod.html bin/FC_pregmod_$(HASH)_.html - .PHONY: all sanity jsanity git -- GitLab