projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1faf06
)
fixes regeneration of scripts.h
author
Robert Timm
<mail@rtti.de>
Fri, 7 Apr 2017 22:41:10 +0000
(
00:41
+0200)
committer
Robert Timm
<mail@rtti.de>
Fri, 7 Apr 2017 22:41:10 +0000
(
00:41
+0200)
without this patch, the make target would keep appending updated js code
to scripts.h and therefor create multiple instances of the C defines.
src/Makefile
patch
|
blob
|
history
diff --git
a/src/Makefile
b/src/Makefile
index
5ec16d8
..
d9c3d4d
100644
(file)
--- 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 >> $@; \