Updated homepage dir.
This commit is contained in:
parent
9e9a638519
commit
fa3b9d8fa5
1 changed files with 8 additions and 7 deletions
15
Makefile
15
Makefile
|
@ -9,7 +9,8 @@ ARCHIVE_SOURCE:=$(LAPPNAME)-$(VERSION).tar.gz
|
|||
ARCHIVE_WIN32:=$(LAPPNAME)-$(VERSION).exe
|
||||
GITUSER:=wummel
|
||||
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
|
||||
DEBORIGFILE:=$(DEBUILDDIR)/$(LAPPNAME)_$(VERSION).orig.tar.gz
|
||||
DEBPACKAGEDIR:=$(DEBUILDDIR)/$(LAPPNAME)-$(VERSION)
|
||||
|
@ -45,14 +46,14 @@ upload:
|
|||
|
||||
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_META)
|
||||
@echo "name: \"$(APPNAME)\"" >> $(HOMEPAGE_META)
|
||||
@echo "lname: \"$(LAPPNAME)\"" >> $(HOMEPAGE_META)
|
||||
@echo "maintainer: \"$(MAINTAINER)\"" >> $(HOMEPAGE_META)
|
||||
@echo "author: \"$(AUTHOR)\"" >> $(HOMEPAGE_META)
|
||||
# generate static files
|
||||
$(MAKE) -C doc
|
||||
cp doc/$(LAPPNAME).1.html $(HOMEPAGE)/content
|
||||
cp doc/$(LAPPNAME).1.html $(HOMEPAGE).git
|
||||
make -C $(HOMEPAGE) gen upload
|
||||
|
||||
release: distclean releasecheck
|
||||
|
|
Loading…
Reference in a new issue