bernhard: doc/architecture Makefile,1.5,1.6

cvs at intevation.de cvs at intevation.de
Tue Apr 13 15:42:44 CEST 2004


Author: bernhard

Update of /kolabrepository/doc/architecture
In directory doto:/tmp/cvs-serv32652

Modified Files:
	Makefile 
Log Message:
Added 
	* licensing note.
	* Bernhard as author.
	* INCLUDED_SRCS so that depencies actually work
	* cleaning of the rtf target.
	* hints which toolchains was used and what the rtf target needs


Index: Makefile
===================================================================
RCS file: /kolabrepository/doc/architecture/Makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Makefile	20 Feb 2003 19:20:23 -0000	1.5
+++ Makefile	13 Apr 2004 13:42:42 -0000	1.6
@@ -1,14 +1,20 @@
 # Generates HTML, Postscript and PDF from SGML source.
+# $Id$
+#
+# This file is Free Software under GNU GPL v>=2.
 #
 # Author(s):  Martin Konold <konold at erfrakon.de>
+# 	      Bernhard Reiter <bernhard at intevatin.de>
 #
+# Known to run on Debian GNU/Linux with docbook-utils(0.6.13-2).
 
 NAME=		concept
 DEST=		concept
 SHELL=		/bin/bash
-SGML_SRC=	concept.sgml
+SGML_SRC=	concept.sgml 
+INCLUDED_SRCS= overview.sgml client_server.sgml client_client.sgml server.sgml windows.sgml kde.sgml appendix.sgml erfrakon.eps
 
-HTML_DST=	html/index.html
+HTML_DST=	concept/index.html
 PS_DST=		$(NAME).ps
 PDF_DST=	$(NAME).pdf
 RTF_DST=	$(NAME).rtf
@@ -29,24 +35,29 @@
 pdf: $(PDF_DST)
 rtf: $(RTF_DST)
 
-html/index.html: $(SGML_SRC)
+concept/index.html: $(SGML_SRC) $(INCLUDED_SRCS)
 	$(HTML_CMD) $(SGML_SRC)
 	cp erfrakon.png $(DEST)/
 	cat $(DEST)/index.html | sed -e 's/SRC=\"erfrakon\"/SRC=\"erfrakon\.png\"/g' > $(DEST)/index.html
 
-$(NAME).ps: $(SGML_SRC)
+$(NAME).ps: $(SGML_SRC) $(INCLUDED_SRCS)
 	$(PS_CMD) $(SGML_SRC)
 
-$(NAME).pdf: $(SGML_SRC) $(NAME).ps
+$(NAME).pdf: $(NAME).ps
 	ps2pdf $(NAME).ps
 
-$(NAME).rtf: $(SGML_SRC) 
+$(NAME).rtf: $(SGML_SRC) $(INCLUDED_SRCS)
+	echo '**************'
+	echo currently this step might need adding a \".png\" to the erfrakon fileref
+	echo if you want the image to display
+	echo
 	$(RTF_CMD) $<
 
 clean:
 	rm -f *.tex *.dvi *.aux *.log
 	rm -rf db2html*
 	rm -rf $(NAME).junk
+	rm -f $(NAME).rtf 
 
 realclean: clean
 	rm -f $(NAME).ps $(NAME).pdf





More information about the commits mailing list