Re: Bug#650: gnome-libs HTML docu



Now I've found, what I was looking for.

http://developer.gnome.org/doc/tutorials/helpsys.html says:

    The topic.dat file currently gets copied into the directory
    $prefix/share/gnome/help/<appname>/C/topic.dat. All the HTML
    documentation also goes in this directory. The file references in
    the first column of the topic.dat file are all relative to this
    directory as well.

What do you think about the following patch (it isn't complete;
topic.dat is missing and the subdirs have to be changed accordingly; in
the end it would be better to move gnome-dev-info in an subdir, too):


1999-08-28  Karl Eichwalder  <ke@suse.de>

	* Makefile.am (htmldir): Install documentation conforming to
	http://developer.gnome.org/doc/tutorials/helpsys.html.

Index: Makefile.am
===================================================================
RCS file: /cvs/gnome/gnome-libs/devel-docs/Makefile.am,v
retrieving revision 1.32
diff -u -r1.32 Makefile.am
--- Makefile.am	1999/07/05 22:47:50	1.32
+++ Makefile.am	1999/08/28 07:25:26
@@ -1,6 +1,6 @@
 SUBDIRS = gnome gnomeui zvt templates ui-guide gnorba
 
-htmldir = $(prefix)/html
+htmldir = $(datadir)/gnome/help/gnome-dev-info/C
 html_DATA = gnome-dev-info.html
 
 gnome-dev-info.html: gnome-dev-info/book1.html
@@ -70,6 +70,7 @@
 	tar cvf - gnome-dev-info | (cd $(distdir); tar xf -)
 
 install-data-local: gnome-dev-info.html
+	$(mkinstalldirs) $(DESTDIR)$(htmldir)
 	-for file in $(srcdir)/gnome-dev-info/*.html $(srcdir)/gnome-dev-info/*.css; do \
           basefile=`echo $$file | sed -e 's,^.*/,,'`; \
           $(INSTALL_DATA) $$file $(DESTDIR)$(htmldir)/$$basefile; \


-- 
                                             work   :        ke@suse.de
Karl Eichwalder                              private: ke@gnu.franken.de



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]