Date: Friday, March 24, 2006 @ 15:11:58
Author: marc
Path: /cvsroot/carob/odbsequoia
Added: GNUmakefile (1.1)
Added root /GNUMakefile to generate and clean .html from doc text
files (README, doc/INSTALL, etc.) using reStructuredText.
-------------+
GNUmakefile | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+)
Index: odbsequoia/GNUmakefile
diff -u /dev/null odbsequoia/GNUmakefile:1.1
--- /dev/null Fri Mar 24 15:11:58 2006
+++ odbsequoia/GNUmakefile Fri Mar 24 15:11:58 2006
@@ -0,0 +1,25 @@
+all: lib
+
+lib:
+ $(MAKE) -C src
+
+clean: cleandoc
+ $(MAKE) -C src clean
+
+
+### Build & publish documentation text files ###
+
+# keep this list in sync with links at bottom of README file
+HTMLDOCFILES = README.html doc/INSTALL.html doc/RELNOTES.html doc/DESIGN.html
+TXTDOCFILES = COPYING doc/CREDITS doc/UNICODE ${HTMLDOCFILES:%.html=%}
+
+doc: ${HTMLDOCFILES}
+
+${HTMLDOCFILES}: %.html: %
+ rst2html $< > $@
+
+cleandoc:
+ rm -rf ${HTMLDOCFILES}
+
+publishdoc: doc # ? : No. Don't publish without proof-reading first.
+ rsync --times --relative ${TXTDOCFILES} ${HTMLDOCFILES}
forge.continuent.org:/home/groups/carob/doc/odbsequoia/
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits