Updated homepage dir.

This commit is contained in:
Bastian Kleineidam 2013-03-28 19:44:56 +01:00
parent 9e9a638519
commit fa3b9d8fa5

View file

@ -9,7 +9,8 @@ ARCHIVE_SOURCE:=$(LAPPNAME)-$(VERSION).tar.gz
ARCHIVE_WIN32:=$(LAPPNAME)-$(VERSION).exe ARCHIVE_WIN32:=$(LAPPNAME)-$(VERSION).exe
GITUSER:=wummel GITUSER:=wummel
GITREPO:=$(LAPPNAME) GITREPO:=$(LAPPNAME)
HOMEPAGE:=$(HOME)/public_html/$(LAPPNAME)-webpage.git HOMEPAGE:=$(HOME)/public_html/$(LAPPNAME)-webpage
HOMEPAGE_META:=$(HOMEPAGE)/app.yaml
DEBUILDDIR:=$(HOME)/projects/debian/official DEBUILDDIR:=$(HOME)/projects/debian/official
DEBORIGFILE:=$(DEBUILDDIR)/$(LAPPNAME)_$(VERSION).orig.tar.gz DEBORIGFILE:=$(DEBUILDDIR)/$(LAPPNAME)_$(VERSION).orig.tar.gz
DEBPACKAGEDIR:=$(DEBUILDDIR)/$(LAPPNAME)-$(VERSION) DEBPACKAGEDIR:=$(DEBUILDDIR)/$(LAPPNAME)-$(VERSION)
@ -45,14 +46,14 @@ upload:
homepage: homepage:
# update metadata # update metadata
@echo "version: \"$(VERSION)\"" > $(HOMEPAGE)/info.yaml @echo "version: \"$(VERSION)\"" > $(HOMEPAGE_META)
@echo "name: \"$(APPNAME)\"" >> $(HOMEPAGE)/info.yaml @echo "name: \"$(APPNAME)\"" >> $(HOMEPAGE_META)
@echo "lname: \"$(LAPPNAME)\"" >> $(HOMEPAGE)/info.yaml @echo "lname: \"$(LAPPNAME)\"" >> $(HOMEPAGE_META)
@echo "maintainer: \"$(MAINTAINER)\"" >> $(HOMEPAGE)/info.yaml @echo "maintainer: \"$(MAINTAINER)\"" >> $(HOMEPAGE_META)
@echo "author: \"$(AUTHOR)\"" >> $(HOMEPAGE)/info.yaml @echo "author: \"$(AUTHOR)\"" >> $(HOMEPAGE_META)
# 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).git
make -C $(HOMEPAGE) gen upload make -C $(HOMEPAGE) gen upload
release: distclean releasecheck release: distclean releasecheck