From eaaa6df1ce8c144c2efb3dd8e76b2774632a064b Mon Sep 17 00:00:00 2001 From: Kolja Waschk Date: Wed, 19 Dec 2007 13:34:18 +0000 Subject: [PATCH] Added directory structure for versioning of UrJTAG.org web content git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@870 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- web/Makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 web/Makefile diff --git a/web/Makefile b/web/Makefile new file mode 100644 index 00000000..ff856c88 --- /dev/null +++ b/web/Makefile @@ -0,0 +1,23 @@ +WEB=shell.urjtag.sourceforge.net:/home/groups/u/ur/urjtag +JTAG=../jtag +BOOK=./htdocs/book + +RSYNC=rsync +RSYNCOPTS=-av --rsh=ssh --exclude=.svn + +DIRS="cgi-bin" "htdocs" + +sync-to-sf: book + $(RSYNC) $(RSYNCOPTS) $(DIRS) "$(WEB)/" + +sync-from-sf: + $(RSYNC) $(RSYNCOPTS) "$(WEB)/*" . + +.PHONY: book +book: $(BOOK)/UrJTAG.dbk + docbook2html -o $(BOOK) $(BOOK)/UrJTAG.dbk + +$(BOOK)/UrJTAG.dbk: $(JTAG)/doc/*.txt + mkdir -p $(BOOK) + asciidoc -b docbook -d book -o $(BOOK)/UrJTAG.dbk $(JTAG)/doc/UrJTAG.txt +