|
From: <di...@us...> - 2007-10-19 16:38:48
|
Revision: 552
http://safekeep.svn.sourceforge.net/safekeep/?rev=552&view=rev
Author: dimi
Date: 2007-10-19 09:38:47 -0700 (Fri, 19 Oct 2007)
Log Message:
-----------
Add target to deploy latest docs to website
Modified Paths:
--------------
safekeep/trunk/Makefile
Modified: safekeep/trunk/Makefile
===================================================================
--- safekeep/trunk/Makefile 2007-10-19 16:37:28 UTC (rev 551)
+++ safekeep/trunk/Makefile 2007-10-19 16:38:47 UTC (rev 552)
@@ -12,6 +12,7 @@
rpmroot := $(shell grep '%_topdir' ~/.rpmmacros 2>/dev/null | sed 's/^[^ \t]*[ \t]*//')
svnroot := $(shell LANG=C svn info 2>/dev/null | grep Root | cut -c 18-)
releasedir := releases
+webroot := ../website/WebContent/
MAN_TXT := doc/safekeep.txt doc/safekeep.conf.txt doc/safekeep.backup.txt
DOC_MAN := doc/safekeep.1 doc/safekeep.conf.5 doc/safekeep.backup.5
DOC_HTML := $(patsubst %.txt,%.html,$(MAN_TXT))
@@ -25,6 +26,7 @@
@echo " info Displays package information (version, etc.)"
@echo " install Installs safekeep and the online documentation"
@echo " docs Builds all documentation formats"
+ @echo " web Updates the website to the latest documentation"
@echo " build Builds everything needed for an installation"
@echo " tar Builds snapshot source distribution"
@echo " deb Builds snapshot binary and source DEBs"
@@ -61,6 +63,10 @@
@echo -n 'Is this information correct? (yes/No) '
@read x; if [ "$$x" != "yes" ]; then exit 1; fi
+web: html
+ cp doc/*.html $(webroot)
+ cd $(webroot); svn ci -m "Update man pages on website to latest as of $(timestamp)"
+
docs: html man
html: $(DOC_HTML)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|