[Gtk-sharp-list] patch for gtk-sharp/doc/makefile
Martin Willemoes Hansen
mwh@sysrq.dk
Tue, 16 Sep 2003 20:53:36 +0200
--=-1hCCgJ/109FxL9tYJrYu
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
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?
--
Martin Willemoes Hansen
--------------------------------------------------------
E-Mail mwh@sysrq.dk Website mwh.sysrq.dk
IRC MWH, freenode.net
--------------------------------------------------------
--=-1hCCgJ/109FxL9tYJrYu
Content-Disposition: attachment; filename=updateTarget.diff
Content-Type: text/x-patch; name=updateTarget.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 16 Sep 2003 19:04:42 -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 || 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`
--=-1hCCgJ/109FxL9tYJrYu--