[Gtk-sharp-list] Re: [Mono-docs-list] patch for gtk-sharp/doc/makefile

Martin Willemoes Hansen mwh@sysrq.dk
Wed, 17 Sep 2003 21:42:06 +0200


--=-KzoHSu5hH9dr9I38B6Le
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

On Tue, 2003-09-16 at 20:53, Martin Willemoes Hansen wrote:
> Hi!
> 
> I added a update target to the makefile, to make it easy to update the
> docs from the assemblies, what do you guys think of it?
> 
> Are there any assemblies which we do not target for doc stub-generation?

Okay to commit my changes to the makefile? I have updated my patch with
the -f option.
-- 
Martin Willemoes Hansen

--------------------------------------------------------
E-Mail	mwh@sysrq.dk	Website	mwh.sysrq.dk
IRC     MWH, freenode.net
--------------------------------------------------------               


--=-KzoHSu5hH9dr9I38B6Le
Content-Disposition: attachment; filename=AdditionOfUpdateTarget.diff
Content-Type: text/x-patch; name=AdditionOfUpdateTarget.diff; charset=iso-8859-1
Content-Transfer-Encoding: 7bit

Index: makefile
===================================================================
RCS file: /cvs/public/gtk-sharp/doc/makefile,v
retrieving revision 1.20
diff -u -r1.20 makefile
--- makefile	6 Aug 2003 12:05:02 -0000	1.20
+++ makefile	17 Sep 2003 19:54:20 -0000
@@ -1,8 +1,7 @@
-prefix=/usr
 BROWSER=../../monodoc/browser/browser.exe
 ASSEMBLER=../../monodoc/browser/assembler.exe
-GENERATOR=../../monodoc/generator/generator.exe
 UPDATER=../../monodoc/generator/updater.exe
+DIRS=glib pango atk gdk gtk glade art gnome gda gnomedb gconf/GConf gconf/GConf.PropertyEditors rsvg
 
 all: gtk-sharp-docs.zip gtk-sharp-docs.tree
 
@@ -11,6 +10,11 @@
 
 gtk-sharp-docs.zip gtk-sharp-docs.tree: en/*/*.xml
 	mono $(ASSEMBLER) --ecma en -o gtk-sharp-docs
+
+update:
+	for i in $(DIRS); do                    			\
+		mono $(UPDATER) ../$$i/*.dll -o ./en -f || exit 1;	\
+        done
 
 install: gtk-sharp-docs.zip gtk-sharp-docs.tree 
 	install -m 644 gtk-sharp-docs.zip gtk-sharp-docs.tree `monodoc --get-sourcesdir`

--=-KzoHSu5hH9dr9I38B6Le--