[Monodevelop-patches-list] r1666 - in trunk/MonoDevelop: . help

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Sun May 30 01:30:41 EDT 2004


Author: fawad
Date: 2004-05-30 01:30:41 -0400 (Sun, 30 May 2004)
New Revision: 1666

Added:
   trunk/MonoDevelop/help/
   trunk/MonoDevelop/help/Makefile.am
   trunk/MonoDevelop/help/monodevelop.omf
   trunk/MonoDevelop/help/monodevelop.xml
   trunk/MonoDevelop/omf.make
   trunk/MonoDevelop/xmldocs.make
Modified:
   trunk/MonoDevelop/ChangeLog
   trunk/MonoDevelop/Makefile.am
   trunk/MonoDevelop/configure.in
Log:
Imported Docbook documentation skeleton in /help
Added requisite support files in root.


Modified: trunk/MonoDevelop/ChangeLog
===================================================================
--- trunk/MonoDevelop/ChangeLog	2004-05-29 23:52:38 UTC (rev 1665)
+++ trunk/MonoDevelop/ChangeLog	2004-05-30 05:30:41 UTC (rev 1666)
@@ -1,3 +1,8 @@
+2004-05-30  Fawad Halim  <fawad at fawad.net>
+	* help/: Imported initial docbook docs skeleton
+	* xmldocs.make,omf.make: Imported supporting omf/docbook files from GNOME CVS
+	* configure.in,Makefile.am: Add help/ in build
+
 2004-05-29  Martin Willemoes Hansen  <mwh at sysrq.dk>
 
 	* configure.in: Changed da_DK to da

Modified: trunk/MonoDevelop/Makefile.am
===================================================================
--- trunk/MonoDevelop/Makefile.am	2004-05-29 23:52:38 UTC (rev 1665)
+++ trunk/MonoDevelop/Makefile.am	2004-05-30 05:30:41 UTC (rev 1666)
@@ -1,6 +1,6 @@
 # leave gdldock first
 # (mkdir ../../build/bin/ hack)
-SUBDIRS = gdldock libmonodevelop src build data po
+SUBDIRS = gdldock libmonodevelop src build data po help
 
 bin_SCRIPTS = monodevelop
 

Modified: trunk/MonoDevelop/configure.in
===================================================================
--- trunk/MonoDevelop/configure.in	2004-05-29 23:52:38 UTC (rev 1665)
+++ trunk/MonoDevelop/configure.in	2004-05-30 05:30:41 UTC (rev 1666)
@@ -161,6 +161,7 @@
 data/Makefile
 data/resources/Makefile
 data/resources/glade/Makefile
+help/Makefile
 src/AddIns/DebuggerAddIn/AssemblyInfo.cs
 src/AddIns/DisplayBindings/SourceEditor/AssemblyInfo.cs
 src/AddIns/Misc/StartPage/AssemblyInfo.cs

Added: trunk/MonoDevelop/help/Makefile.am
===================================================================
--- trunk/MonoDevelop/help/Makefile.am	2004-05-29 23:52:38 UTC (rev 1665)
+++ trunk/MonoDevelop/help/Makefile.am	2004-05-30 05:30:41 UTC (rev 1666)
@@ -0,0 +1,7 @@
+#figdir = figures
+docname = monodevelop
+lang = C
+omffile = monodevelop.omf
+entities = legal.xml
+include $(top_srcdir)/xmldocs.make
+dist-hook: app-dist-hook

Added: trunk/MonoDevelop/help/monodevelop.omf
===================================================================
--- trunk/MonoDevelop/help/monodevelop.omf	2004-05-29 23:52:38 UTC (rev 1665)
+++ trunk/MonoDevelop/help/monodevelop.omf	2004-05-30 05:30:41 UTC (rev 1666)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE omf PUBLIC "-//OMF//DTD Scrollkeeper OMF Variant V1.0//EN" "http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd">
+<omf>
+  <resource>
+    <creator>
+      Fawad Halim &lt;fawad at fawad.net&gt;
+    </creator>
+    <maintainer>
+      Fawad Halim &lt;fawad at fawad.net&gt;
+    </maintainer>
+    <title>
+      MonoDevelop documentation
+    </title>
+    <date>
+      2004-05-25
+    </date>
+    <version identifier="0.1" date="2004-05-25" description="Initial documentation import" />
+    <subject category="GNOME|Applications|Programming"/>
+    <description>
+      User manual for the MonoDevelop .NET IDE.
+    </description>
+    <type>
+      user's guide
+    </type>
+    <format mime="text/xml" dtd="-//OASIS//DTD DocBook XML V4.1.2//EN"/>
+    <identifier url="monodevelop.xml"/>
+    <language code="C"/>
+	<relation seriesid="6a0dd49a-b0b6-11d8-9992-9d3f4ad93477" />
+  </resource>        
+</omf>

Added: trunk/MonoDevelop/help/monodevelop.xml
===================================================================
--- trunk/MonoDevelop/help/monodevelop.xml	2004-05-29 23:52:38 UTC (rev 1665)
+++ trunk/MonoDevelop/help/monodevelop.xml	2004-05-30 05:30:41 UTC (rev 1666)
@@ -0,0 +1,113 @@
+<?xml version="1.0"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
+"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
+  <!ENTITY appversion "0.40">
+<!ENTITY manrevision "0.1">
+<!ENTITY date "March 2004">
+<!ENTITY app "MonoDevelop">
+<!ENTITY app-url "http://www.monodevelop.com/">
+]>
+<!-- =============Document Header ============================= -->
+<article id="index" lang="en">
+	<articleinfo> 
+		<title>&app; Manual V&manrevision;</title>
+		<copyright> 
+			<year>2004</year>
+			<holder>MonoDevelop Team</holder> 
+		</copyright>
+		<publisher> 
+			<publishername>MonoDevelop Team</publishername>
+		</publisher>
+		<authorgroup> 
+			<author> 
+				<firstname>Fawad</firstname>
+				<surname>Halim</surname> 
+				<address>
+					<email>fawad at fawad.net</email> 
+				</address>
+			</author>
+			<author> 
+				<firstname>Todd</firstname>
+				<surname>Berman</surname> 
+				<address>
+					<email>tberman at sevenl.net</email>
+				</address>
+			</author>
+			 
+		</authorgroup>
+		<releaseinfo> This manual describes version &appversion; of the &app; IDE.
+		</releaseinfo>
+		<legalnotice> 
+			<title>Feedback</title>
+			<para>
+				To report a bug or make a suggestion regarding the <application>&app;</application> application or this manual, follow the directions in the <ulink url="ghelp:gnome-feedback" type="help">GNOME Feedback Page</ulink>. 
+			</para>
+		</legalnotice>
+	</articleinfo>
+	<indexterm>
+		<primary>monodevelop</primary>
+	</indexterm>
+	<indexterm>
+		<primary>ide</primary>
+	</indexterm>
+	
+	<!-- ============= Document Body ============================= -->
+	<!-- ============= Introduction ============================== -->
+	<sect1 id="md-intro"> 
+		<title>Introduction</title>
+		<para>
+			<application>&app;</application> is an IDE for developing .NET applications on the POSIX platform.
+		</para>
+	</sect1>
+	<sect1 id="md-gettingstarted">
+		<title>Getting Started</title>
+		<sect2 id="md-gettingstarted-theide">
+			<title>MonoDevelop IDE</title>
+			<sect3 id="md-gettingstarted-pads">
+				<title>MonoDevelop Pads</title>
+				<sect4 id="md-gettingstarted-pads-solution">
+					<title>Solution Pad</title>
+				</sect4>
+				<sect4 id="md-gettingstarted-pads-classes">
+					<title>Classes Pad</title>
+				</sect4>
+				<sect4 id="md-gettingstarted-pads-files">
+					<title>Files Pad</title>
+				</sect4>
+				<sect4 id="md-gettingstarted-pads-tasks">
+					<title>Task List Pad</title>
+				</sect4>
+				<sect4 id="md-gettingstarted-pads-help">
+					<title>Help Pad</title>
+				</sect4>
+				<sect4 id="md-gettingstarted-pads-output">
+					<title>Output Pad</title>
+				</sect4>
+			</sect3>
+			<sect3 id="md-gettingstarted-sourceeditor">
+				<title>Source Editor</title>
+			</sect3>
+		</sect2>
+	</sect1>
+	<sect1 id="md-workingwith">
+		<title>Working With MonoDevelop</title>
+		<sect2 id="md-workingwith-intro">
+			<title>Introduction</title>
+		</sect2>
+		<sect2 id="md-workingwith-solutions">
+			<title>Solutions</title>
+		</sect2>
+		<sect2 id="md-workingwith-projects">
+			<title>Projects</title>
+		</sect2>
+		<sect2 id="md-workingwith-files">
+			<title>Files</title>
+		</sect2>
+		<sect2 id="md-workingwith-references">
+			<title>References</title>
+		</sect2>
+		<sect2 id="md-workingwith-options">
+			<title>IDE Options</title>
+		</sect2>
+	</sect1>
+</article>

Added: trunk/MonoDevelop/omf.make
===================================================================
--- trunk/MonoDevelop/omf.make	2004-05-29 23:52:38 UTC (rev 1665)
+++ trunk/MonoDevelop/omf.make	2004-05-30 05:30:41 UTC (rev 1666)
@@ -0,0 +1,53 @@
+# 
+# No modifications of this Makefile should be necessary.
+#
+# This file contains the build instructions for installing OMF files.  It is
+# generally called from the makefiles for particular formats of documentation.
+#
+# Note that you must configure your package with --localstatedir=/var/lib
+# so that the scrollkeeper-update command below will update the database
+# in the standard scrollkeeper directory.
+#
+# If it is impossible to configure with --localstatedir=/var/lib, then
+# modify the definition of scrollkeeper_localstate_dir so that
+# it points to the correct location. Note that you must still use 
+# $(localstatedir) in this or when people build RPMs it will update
+# the real database on their system instead of the one under RPM_BUILD_ROOT.
+#
+# Note: This make file is not incorporated into xmldocs.make because, in
+#       general, there will be other documents install besides XML documents
+#       and the makefiles for these formats should also include this file.
+#
+# About this file:
+#	This file was taken from scrollkeeper_example2, a package illustrating
+#	how to install documentation and OMF files for use with ScrollKeeper
+#	0.3.x and 0.4.x.  For more information, see:
+#		http://scrollkeeper.sourceforge.net/	
+# 	Version: 0.1.2 (last updated: March 20, 2002)
+#
+
+omf_dest_dir=$(datadir)/omf/@PACKAGE@
+scrollkeeper_localstate_dir = $(localstatedir)/scrollkeeper
+
+omf: omf_timestamp
+
+omf_timestamp: $(omffile)
+	-for file in $(omffile); do \
+	  scrollkeeper-preinstall $(docdir)/$(docname).xml $(srcdir)/$$file $$file.out; \
+	done
+	touch omf_timestamp
+
+install-data-hook-omf:
+	$(mkinstalldirs) $(DESTDIR)$(omf_dest_dir)
+	for file in $(omffile); do \
+		$(INSTALL_DATA) $$file.out $(DESTDIR)$(omf_dest_dir)/$$file; \
+	done
+	-scrollkeeper-update -p $(scrollkeeper_localstate_dir) -o $(DESTDIR)$(omf_dest_dir)
+
+uninstall-local-omf:
+	-for file in $(srcdir)/*.omf; do \
+		basefile=`basename $$file`; \
+		rm -f $(omf_dest_dir)/$$basefile; \
+	done
+	-rmdir $(omf_dest_dir)
+	-scrollkeeper-update -p $(scrollkeeper_localstate_dir)

Added: trunk/MonoDevelop/xmldocs.make
===================================================================
--- trunk/MonoDevelop/xmldocs.make	2004-05-29 23:52:38 UTC (rev 1665)
+++ trunk/MonoDevelop/xmldocs.make	2004-05-30 05:30:41 UTC (rev 1666)
@@ -0,0 +1,95 @@
+#
+# No modifications of this Makefile should be necessary.
+#
+# To use this template:
+#     1) Define: figdir, docname, lang, omffile, and entities in
+#        your Makefile.am file for each document directory,
+#        although figdir, omffile, and entities may be empty
+#     2) Make sure the Makefile in (1) also includes 
+#	 "include $(top_srcdir)/xmldocs.make" and
+#	 "dist-hook: app-dist-hook".
+#     3) Optionally define 'entities' to hold xml entities which
+#        you would also like installed
+#     4) Figures must go under $(figdir)/ and be in PNG format
+#     5) You should only have one document per directory 
+#     6) Note that the figure directory, $(figdir)/, should not have its
+#        own Makefile since this Makefile installs those figures.
+#
+# example Makefile.am:
+#   figdir = figures
+#   docname = scrollkeeper-manual
+#   lang = C
+#   omffile=scrollkeeper-manual-C.omf
+#   entities = fdl.xml
+#   include $(top_srcdir)/xmldocs.make
+#   dist-hook: app-dist-hook
+#
+# About this file:
+#	This file was taken from scrollkeeper_example2, a package illustrating
+#	how to install documentation and OMF files for use with ScrollKeeper 
+#	0.3.x and 0.4.x.  For more information, see:
+#		http://scrollkeeper.sourceforge.net/
+#	Version: 0.1.2 (last updated: March 20, 2002)
+#
+
+
+# ************* Begin of section some packagers may need to modify  **************
+# This variable (docdir) specifies where the documents should be installed.
+# This default value should work for most packages.
+# docdir = $(datadir)/@PACKAGE@/doc/$(docname)/$(lang)
+docdir = $(datadir)/gnome/help/$(docname)/$(lang)
+
+# **************  You should not have to edit below this line  *******************
+xml_files = $(entities) $(docname).xml
+
+EXTRA_DIST = $(xml_files) $(omffile)
+CLEANFILES = omf_timestamp
+
+include $(top_srcdir)/omf.make
+
+all: omf
+
+$(docname).xml: $(entities)
+	-ourdir=`pwd`;  \
+	cd $(srcdir);   \
+	cp $(entities) $$ourdir
+
+app-dist-hook:
+	if test "$(figdir)"; then \
+	  $(mkinstalldirs) $(distdir)/$(figdir); \
+	  for file in $(srcdir)/$(figdir)/*.png; do \
+	    basefile=`echo $$file | sed -e  's,^.*/,,'`; \
+	    $(INSTALL_DATA) $$file $(distdir)/$(figdir)/$$basefile; \
+	  done \
+	fi
+
+install-data-local: omf
+	$(mkinstalldirs) $(DESTDIR)$(docdir)
+	for file in $(xml_files); do \
+	  cp $(srcdir)/$$file $(DESTDIR)$(docdir); \
+	done
+	if test "$(figdir)"; then \
+	  $(mkinstalldirs) $(DESTDIR)$(docdir)/$(figdir); \
+	  for file in $(srcdir)/$(figdir)/*.png; do \
+	    basefile=`echo $$file | sed -e  's,^.*/,,'`; \
+	    $(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/$(figdir)/$$basefile; \
+	  done \
+	fi
+
+install-data-hook: install-data-hook-omf
+
+uninstall-local: uninstall-local-doc uninstall-local-omf
+
+uninstall-local-doc:
+	-if test "$(figdir)"; then \
+	  for file in $(srcdir)/$(figdir)/*.png; do \
+	    basefile=`echo $$file | sed -e  's,^.*/,,'`; \
+	    rm -f $(docdir)/$(figdir)/$$basefile; \
+	  done; \
+	  rmdir $(DESTDIR)$(docdir)/$(figdir); \
+	fi
+	-for file in $(xml_files); do \
+	  rm -f $(DESTDIR)$(docdir)/$$file; \
+	done
+	-rmdir $(DESTDIR)$(docdir)
+




More information about the Monodevelop-patches-list mailing list