Fix homepage generation.
This commit is contained in:
parent
3cb8a96c26
commit
d3bf550b6f
2 changed files with 6 additions and 10 deletions
10
Makefile
10
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
|
||||
|
|
|
@ -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"
|
||||
else:
|
||||
entry["since"] = testinfo[key]["since"]
|
||||
testinfo[key] = entry
|
||||
|
|
Loading…
Reference in a new issue