From: Michael Smith Date: Tue, 4 Mar 2008 08:51:02 +0000 (+0000) Subject: added mysql doc sources X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a8a1ddc1279000ebb1b5f6e7e13b4735349f49e4;p=docbook-dsssl added mysql doc sources --- diff --git a/contrib/samples/refentry/mysql/.cvsignore b/contrib/samples/refentry/mysql/.cvsignore new file mode 100644 index 000000000..4a8770a70 --- /dev/null +++ b/contrib/samples/refentry/mysql/.cvsignore @@ -0,0 +1,5 @@ +robots.txt +common +index.html +refman-5.2 +refman-common diff --git a/contrib/samples/refentry/mysql/Makefile b/contrib/samples/refentry/mysql/Makefile new file mode 100644 index 000000000..ba0e9e8a1 --- /dev/null +++ b/contrib/samples/refentry/mysql/Makefile @@ -0,0 +1,33 @@ +VERSION=5.2 +BASEURL=http://svn.mysql.com/svnpublic/mysqldoc +REFMAN=refman-$(VERSION) +REFMANCOMMON=refman-common +COMMON=common + +MAKEFILE_DOCBOOK = ../../../../xsl/tools/make/Makefile.DocBook + +WGET=wget +WGETFLAGS=-r -nH -l 1 --cut-dirs=2 + +all: $(REFMAN) $(REFMAN)/Makefile $(REFMANCOMMON) $(COMMON) + +$(REFMAN): + $(WGET) $(WGETFLAGS) $(BASEURL)/$(REFMAN) + $(RM) $(REFMAN)/Makefile + cp -p $(MAKEFILE_DOCBOOK) $(REFMAN)/Makefile + +$(REFMAN)/Makefile: + cp -p $(MAKEFILE_DOCBOOK) $(REFMAN)/Makefile + +$(REFMANCOMMON): + $(WGET) $(WGETFLAGS) $(BASEURL)/$(REFMANCOMMON) + +$(COMMON): + $(WGET) $(WGETFLAGS) $(BASEURL)/$(COMMON) + +clean: + $(RM) -r $(REFMAN) + $(RM) -r $(REFMANCOMMON) + $(RM) -r $(COMMON) + $(RM) index.html + $(RM) robots.txt