Skip to content

Commit

Permalink
Fixed an issue where version number wasn't updated if index.html hadn…
Browse files Browse the repository at this point in the history
…'t changed.
  • Loading branch information
dgchurchill committed Aug 12, 2011
1 parent d53bb76 commit f9f7578
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Expand Up @@ -33,6 +33,7 @@ HTML=$(OUTPUTDIR)/index.html $(OUTPUTDIR)/about.html $(OUTPUTDIR)/help.html $(OU
.PHONY: nanowasp
nanowasp: $(OUTPUTDIR)/nanowasp.js $(OUTPUTDIR)/z80.js $(OUTPUTDIR)/data.js $(OUTPUTDIR)/.htaccess $(HTML) $(IMAGES)

.PHONY: $(OUTPUTDIR)/index.html # Always want to build this to ensure version is up to date.
$(OUTPUTDIR)/index.html: nanowasp.html | $(OUTPUTDIR)
cat "$<" | sed -e 's/#UPDATE_DATE#/$(UPDATE_DATE)/g' | sed -e 's/#VERSION#/$(VERSION)/g' > "$@"

Expand Down

0 comments on commit f9f7578

Please sign in to comment.