Update header
This commit is contained in:
2
Makefile
2
Makefile
@@ -27,6 +27,6 @@ $(STL) $(PNG): $(SCAD) $(CONFIG) Makefile
|
||||
openscad -o $@ -p $(CONFIG) -P $(basename $(@F)) $(SCAD)
|
||||
|
||||
$(INDEX): header.html entry.html footer.html Makefile
|
||||
cat header.html > $@
|
||||
cat header.html | sed "s/%date/`date '+%Y-%m-%d at %T'`/g" | sed "s/%version/`git describe --always --dirty`/g" > $@
|
||||
$(foreach P,$(PARAMETERS),cat entry.html | sed 's/%/$P/g' >> $@;)
|
||||
cat footer.html >> $@
|
||||
|
||||
Reference in New Issue
Block a user