From d3bf550b6f0b8e1ae8c79adf1070139dfa349d3c Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Mon, 11 Feb 2013 19:11:41 +0100 Subject: [PATCH] Fix homepage generation. --- Makefile | 10 +++++----- scripts/mktestpage.py | 6 +----- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index c690cd70f..426467363 100644 --- a/Makefile +++ b/Makefile @@ -51,11 +51,11 @@ testresults: homepage: # update metadata - @echo "version: $(VERSION)" > $(HOMEPAGE)/info.yaml - @echo "name: $(APPNAME)" >> $(HOMEPAGE)/info.yaml - @echo "lname: $(LAPPNAME)" >> $(HOMEPAGE)/info.yaml - @echo "maintainer: $(MAINTAINER)" >> $(HOMEPAGE)/info.yaml - @echo "author: $(AUTHOR)" >> $(HOMEPAGE)/info.yaml + @echo "version: \"$(VERSION)\"" > $(HOMEPAGE)/info.yaml + @echo "name: \"$(APPNAME)\"" >> $(HOMEPAGE)/info.yaml + @echo "lname: \"$(LAPPNAME)\"" >> $(HOMEPAGE)/info.yaml + @echo "maintainer: \"$(MAINTAINER)\"" >> $(HOMEPAGE)/info.yaml + @echo "author: \"$(AUTHOR)\"" >> $(HOMEPAGE)/info.yaml # generate static files $(MAKE) -C doc cp doc/$(LAPPNAME).1.html $(HOMEPAGE)/content diff --git a/scripts/mktestpage.py b/scripts/mktestpage.py index ac7b65547..ebc86663a 100755 --- a/scripts/mktestpage.py +++ b/scripts/mktestpage.py @@ -179,11 +179,7 @@ def update_testentry(key, entry, testinfo): """Update one entry with testinfo information.""" if key not in testinfo: # add dosage version for this comic - # XXX replace this after next release - if key.startswith("Arcamax") or key in ("AmazingSuperPowers", "PandyLand"): - entry["since"] = DosageVersion - else: - entry["since"] = "1.8" + entry["since"] = DosageVersion else: entry["since"] = testinfo[key]["since"] testinfo[key] = entry