rm mandir on webpage before copying (removes old manpages)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
fa2f49e847
commit
b14f7a431c
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -116,6 +116,7 @@ test:
|
||||||
|
|
||||||
web: man
|
web: man
|
||||||
cp README $(WEBDIR)/$(WEBPAGE)
|
cp README $(WEBDIR)/$(WEBPAGE)
|
||||||
|
rm -rf $(WEBDIR)/$(WEBBASE)/man && mkdir $(WEBDIR)/$(WEBBASE)/man
|
||||||
cp -r doc/html/* $(WEBDIR)/$(WEBBASE)/man
|
cp -r doc/html/* $(WEBDIR)/$(WEBBASE)/man
|
||||||
cd $(WEBDIR) && git add $(WEBBASE)/man
|
cd $(WEBDIR) && git add $(WEBBASE)/man
|
||||||
cd $(WEBDIR) && git commit -m "cdist update" $(WEBBASE) $(WEBPAGE)
|
cd $(WEBDIR) && git commit -m "cdist update" $(WEBBASE) $(WEBPAGE)
|
||||||
|
|
Loading…
Reference in a new issue