fix webbpage copy

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-21 14:00:00 +01:00
parent b36f2fb282
commit f4dc8b28af

View file

@ -9,8 +9,10 @@ A2XM=a2x -f manpage --no-xmllint
A2XH=asciidoc -b xhtml11 A2XH=asciidoc -b xhtml11
# Developer only # Developer only
WEBPAGEBASE=$$HOME/niconetz/software/cdist WEBDIR=$$HOME/niconetz
WEBPAGE=$(WEBPAGEBASE).mdwn WEBBASE=software/cdist
WEBPAGE=$(WEBBASE).mdwn
# Documentation # Documentation
MANDIR=doc/man MANDIR=doc/man
@ -113,9 +115,9 @@ test:
#web: manmove #web: manmove
web: web:
cp README $(WEBPAGE) cp README $(WEBDIR)/$(WEBPAGE)
cp -r doc/html/* $(WEBPAGEBASE)/man cp -r doc/html/* $(WEBDIR)/$(WEBBASE)/man
cd $(WEBDIR) && git commit -m "cdist update" $(WEBPAGEBASE) cd $(WEBDIR) && git commit -m "cdist update" $(WEBBASE) $(WEBPAGE)
cd $(WEBDIR) && make pub cd $(WEBDIR) && make pub
pub: pub: