.PHONY in Bonobo docs build



Hi,

I was just wondering why the html directory is included in the list of
.PHONY targets in bonobo/doc/api/Makefile.am.  Only non-file targets
are supposed to be used in .PHONY, IIRC.

The following patch fixes .PHONY and old references to the (no longer
existent) bonobo-api-doc.sgml file.

Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/bonobo/ChangeLog,v
retrieving revision 1.956
diff -u -r1.956 ChangeLog
--- ChangeLog	2001/02/09 18:10:41	1.956
+++ ChangeLog	2001/02/12 19:40:48
@@ -1,3 +1,9 @@
+2001-02-12  John R. Sheets  <dusk ravendusk org>
+
+	* doc/api/Makefile.am: Remove (real, existing) html and sgml
+	targets from .PHONY and change bonobo-api-doc.bottom to current
+	bonobo-doc.bottom.
+
 2001-02-09  Cody Russell  <bratsche gnome org>
 	* bonobo/bonobo-ui-engine-config.c: Remove the Cancel button.
 	Since this dialog makes changes in real time, this button serves
Index: doc/api/Makefile.am
===================================================================
RCS file: /cvs/gnome/bonobo/doc/api/Makefile.am,v
retrieving revision 1.8
diff -u -r1.8 Makefile.am
--- doc/api/Makefile.am	2000/12/04 07:21:34	1.8
+++ doc/api/Makefile.am	2001/02/12 19:40:48
@@ -35,10 +35,10 @@
 bonobo-api.html:
 endif
 
-html/book1.html: sgml/bonobo-api-doc.bottom
+html/book1.html: sgml/bonobo-doc.bottom
 	$(MAKE) html
 
-sgml/bonobo-api-doc.bottom: $(tmpl_sources)
+sgml/bonobo-doc.bottom: $(tmpl_sources)
 	$(MAKE) sgml
 
 scan:
@@ -151,5 +151,5 @@
 	-cp $(srcdir)/sgml/*.sgml $(distdir)/sgml
 	-cp $(srcdir)/sgml/*.bottom $(srcdir)/sgml/*.top $(distdir)/sgml
 
-.PHONY : html sgml templates scan
+.PHONY : templates scan
 


John

-- 
dusk ravendusk org                            http://www.gnome.org
jsheets codeweavers com                  http://www.worldforge.org
jsheets users sourceforge net     http://openbooks.sourceforge.net
               http://advogato.org/person/jsheets

                   Writing Gnome Applications
          http://www.aw.com/cseng/titles/0-201-65791-0/




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