[Synopsis-changes] Synopsis/Synopsis/docs/RefManual Makefile,1.39,1.40 synopsis.py,1.2,1.3

Stefan Seefeld stefan at synopsis.fresco.org
Sat Nov 22 21:55:26 UTC 2003


Update of /cvs/synopsis/Synopsis/docs/RefManual
In directory frida:/tmp/cvs-serv28295/docs/RefManual

Modified Files:
	Makefile synopsis.py 
Log Message:
replace Unduplicator by Linker

Index: Makefile
===================================================================
RCS file: /cvs/synopsis/Synopsis/docs/RefManual/Makefile,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -p -d -r1.39 -r1.40
--- Makefile	21 Nov 2003 21:19:06 -0000	1.39
+++ Makefile	22 Nov 2003 21:55:24 -0000	1.40
@@ -2,7 +2,12 @@ synopsis := python synopsis.py
 
 topdir	:= ../..
 
-py_src		:= $(shell find $(topdir)/Synopsis -name '*.py' -print)
+py_src		:= $(wildcard $(topdir)/Synopsis/*.py)
+py_src		+= $(shell find $(topdir)/Synopsis/Parsers -name '*.py' -print)
+py_src		+= $(shell find $(topdir)/Synopsis/Processors -name '*.py' -print)
+py_src		+= $(shell find $(topdir)/Synopsis/Formatters -name '*.py' -print)
+# don't include dist yet, synopsis can't deal with dynamic type overrides yet
+# don't include UI yet, as it isn't up to date with the rest
 py_syn		:= $(patsubst $(topdir)/%.py, %.syn, $(py_src))
 cxx_hh  	:= $(wildcard $(topdir)/Synopsis/Parsers/Cxx/syn/*.hh)
 cxx_hh_syn	:= $(patsubst $(topdir)/%.hh, %.hh.syn, $(cxx_hh))
@@ -160,7 +165,7 @@ install: all
 	install -m644 Manual.pdf $(datadir)/Synopsis
 
 clean:
-	rm -rf Synopsis link xref *.syn links.toc $(TEXI) \
+	rm -rf Synopsis links xref *.syn links.toc $(TEXI) \
      $(addprefix Manual., $(texi-help))
 
 distclean:  clean

Index: synopsis.py
===================================================================
RCS file: /cvs/synopsis/Synopsis/docs/RefManual/synopsis.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -d -r1.2 -r1.3
--- synopsis.py	20 Nov 2003 21:38:21 -0000	1.2
+++ synopsis.py	22 Nov 2003 21:55:24 -0000	1.3
@@ -11,6 +11,7 @@ from Synopsis.Formatters.HTML.TreeFormat
 from Synopsis.Formatters.HTML.CommentFormatter import *
 from Synopsis.Formatters.HTML.Pages import *
 from Synopsis.Formatters import TexInfo
+from Synopsis.Formatters import Dump
 
 from distutils import sysconfig
 
@@ -31,9 +32,8 @@ cxx = Composite(Cxx.Parser(base_path = t
                 JavaTags(),
                 Summarizer())
 
-cxx_processor = Composite(Unduplicator(),
-                          NamePrefixer(prefix = ['Synopsis','Parser','C++'],
-                                       type = 'Package'))
+cxx_processor = Linker(NamePrefixer(prefix = ['Synopsis','Parsers','Cxx', 'Parser'],
+                                    type = 'Package'))
 
 html = HTML.Formatter(stylesheet_file = '../../demo/html.css',
                       toc_out = 'links.toc',
@@ -44,7 +44,7 @@ html = HTML.Formatter(stylesheet_file = 
                                Scope(),
                                FileSource(prefix = 'links',
                                           toc_in = ['links.toc'],
-                                          scope = 'Synopsis::Parser::C++::'),
+                                          scope = 'Synopsis::Parsers::Cxx'),
                                ModuleListing(),
                                ModuleIndexer(),
                                FileListing(),
@@ -56,9 +56,10 @@ html = HTML.Formatter(stylesheet_file = 
 
 process(python = python,
         cxx = cxx,
-        link_python = Processor(),
+        link_python = Linker(),
         link_cxx = cxx_processor,
-        link = Processor(),
+        link = Linker(),
         strip = Stripper(),
         html = html,
+        dump = Dump.Formatter(),
         texi = TexInfo.Formatter())





More information about the Synopsis-changes mailing list