Fix homepage generation.

This commit is contained in:
Bastian Kleineidam 2013-02-11 19:11:41 +01:00
parent 3cb8a96c26
commit d3bf550b6f
2 changed files with 6 additions and 10 deletions

View file

@ -51,11 +51,11 @@ testresults:
homepage: homepage:
# update metadata # update metadata
@echo "version: $(VERSION)" > $(HOMEPAGE)/info.yaml @echo "version: \"$(VERSION)\"" > $(HOMEPAGE)/info.yaml
@echo "name: $(APPNAME)" >> $(HOMEPAGE)/info.yaml @echo "name: \"$(APPNAME)\"" >> $(HOMEPAGE)/info.yaml
@echo "lname: $(LAPPNAME)" >> $(HOMEPAGE)/info.yaml @echo "lname: \"$(LAPPNAME)\"" >> $(HOMEPAGE)/info.yaml
@echo "maintainer: $(MAINTAINER)" >> $(HOMEPAGE)/info.yaml @echo "maintainer: \"$(MAINTAINER)\"" >> $(HOMEPAGE)/info.yaml
@echo "author: $(AUTHOR)" >> $(HOMEPAGE)/info.yaml @echo "author: \"$(AUTHOR)\"" >> $(HOMEPAGE)/info.yaml
# generate static files # generate static files
$(MAKE) -C doc $(MAKE) -C doc
cp doc/$(LAPPNAME).1.html $(HOMEPAGE)/content cp doc/$(LAPPNAME).1.html $(HOMEPAGE)/content

View file

@ -179,11 +179,7 @@ def update_testentry(key, entry, testinfo):
"""Update one entry with testinfo information.""" """Update one entry with testinfo information."""
if key not in testinfo: if key not in testinfo:
# add dosage version for this comic # add dosage version for this comic
# XXX replace this after next release entry["since"] = DosageVersion
if key.startswith("Arcamax") or key in ("AmazingSuperPowers", "PandyLand"):
entry["since"] = DosageVersion
else:
entry["since"] = "1.8"
else: else:
entry["since"] = testinfo[key]["since"] entry["since"] = testinfo[key]["since"]
testinfo[key] = entry testinfo[key] = entry