From: Robert Timm Date: Fri, 7 Apr 2017 22:41:10 +0000 (+0200) Subject: fixes regeneration of scripts.h X-Git-Url: https://git.owens.tech/wrapped.html/wrapped.html/git?a=commitdiff_plain;h=fb2e39b0b79db2e690195a7f05ba97c43b680c11;p=vimb.git fixes regeneration of scripts.h without this patch, the make target would keep appending updated js code to scripts.h and therefor create multiple instances of the C defines. --- diff --git a/src/Makefile b/src/Makefile index 5ec16d8..d9c3d4d 100644 --- a/src/Makefile +++ b/src/Makefile @@ -22,6 +22,7 @@ config.h: @cp config.def.h $@ scripts/scripts.h: $(JSFILES) + $(RM) $@ @echo "create $@ from *.js" @for file in $(JSFILES); do \ ./scripts/js2h.sh $$file >> $@; \