[Synopsis-changes] Synopsis/Synopsis/doc/Manual Makefile,1.41,1.42 synopsis.py,1.4,1.5

Stefan Seefeld stefan at synopsis.fresco.org
Tue Nov 25 22:13:19 UTC 2003


Update of /cvs/synopsis/Synopsis/doc/Manual
In directory frida:/tmp/cvs-serv32520/doc/Manual

Modified Files:
	Makefile synopsis.py 
Log Message:
build the manual from an external build tree

Index: Makefile
===================================================================
RCS file: /cvs/synopsis/Synopsis/doc/Manual/Makefile,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -p -d -r1.41 -r1.42
--- Makefile	24 Nov 2003 22:10:40 -0000	1.41
+++ Makefile	25 Nov 2003 22:13:16 -0000	1.42
@@ -1,5 +1,5 @@
-script	:= synopsis.py
-synopsis := python $(script)
+srcdir	:= .
+synopsis := python $(srcdir)/synopsis.py
 
 topdir	:= ../..
 
@@ -20,7 +20,7 @@ texi-help	:= aux cp cps fn fns ky log pg
 
 
 TEXI		:= ast.texi type.texi util.texi \
-            parsers-c++.texi parsers-idl.texi parsers-py.texi \
+            parsers-cxx.texi parsers-idl.texi parsers-py.texi \
             processors.texi \
             formatters-ascii.texi formatters-html.texi formatters-dump.texi \
             formatters-dia.texi formatters-db.texi formatters-dot.texi \
@@ -34,6 +34,7 @@ vpath %.py $(topdir)
 vpath %.cc $(topdir)
 vpath %.h $(topdir)
 vpath %.hh $(topdir)
+vpath Manual.texi $(srcdir)
 
 html: all.syn
 	@echo formatting $@
@@ -150,13 +151,13 @@ formatters-texi.syn:	py.syn
 	@echo formatting $@
 	$(synopsis) texi --output=$@ $^
 
-Manual.pdf:	$(TEXI) Manual.texi
+Manual.pdf:	Manual.texi $(TEXI)
 	@echo generating $@
-	texi2pdf Manual.texi
+	texi2pdf -I $(srcdir) $?
 
 info:	$(TEXI) Manual.texi
 	@echo generating info files
-	makeinfo Manual.texi
+	makeinfo -I $(srcdir) Manual.texi
 
 install: all
 	mkdir -p $(datadir)/Synopsis

Index: synopsis.py
===================================================================
RCS file: /cvs/synopsis/Synopsis/doc/Manual/synopsis.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -d -r1.4 -r1.5
--- synopsis.py	24 Nov 2003 22:10:40 -0000	1.4
+++ synopsis.py	25 Nov 2003 22:13:16 -0000	1.5
@@ -18,8 +18,7 @@ from distutils import sysconfig
 import sys, os.path
 
 topdir = os.path.abspath(sys.argv[0] + '/../../..')
-
-python = Composite(Python.Parser(basename = topdir),
+python = Composite(Python.Parser(basename = topdir + '/'),
                    JavaTags(),
                    Summarizer())
 





More information about the Synopsis-changes mailing list