doc/Makefile: do not run makeinfo when only style.css changes
authorDmitry Kalyanov <Kalyanov.Dmitry@gmail.com>
Tue, 1 Sep 2009 21:05:31 +0000 (01:05 +0400)
committerDmitry Kalyanov <Kalyanov.Dmitry@gmail.com>
Tue, 1 Sep 2009 21:05:31 +0000 (01:05 +0400)
doc/Makefile

index 455b275..481d37e 100644 (file)
@@ -1,4 +1,4 @@
-all: doc.html tutorial.html gobject/index.html gtk/index.html
+all: doc.html tutorial.html gobject/index.html gtk/index.html gobject/style.css gtk/style.css
 
 doc.html: doc.xml
        xsltproc -o $@ /usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl $<
@@ -12,7 +12,7 @@ index.html: doc.xml
 gobject/style.css: style.css
        ([ -x gobject ] || mkdir gobject) && cp $< $@
 
-gobject/index.html: gobject.texi gobject.ref.texi gobject/style.css
+gobject/index.html: gobject.texi gobject.ref.texi
        makeinfo --html --css-ref=style.css $<
        sbcl --noinform --no-sysinit --no-userinit --disable-debugger --load colorize-lisp-examples.lisp $@
        ./fix-tex-references.sh gobject
@@ -20,7 +20,7 @@ gobject/index.html: gobject.texi gobject.ref.texi gobject/style.css
 gtk/style.css: style.css
        ([ -x gtk ] || mkdir gtk) && cp $< $@
 
-gtk/index.html: gtk.texi gtk.ref.texi gdk.ref.texi gobject.ref.texi glib.ref.texi gtk/style.css gdk.enums.texi \
+gtk/index.html: gtk.texi gtk.ref.texi gdk.ref.texi gobject.ref.texi glib.ref.texi gdk.enums.texi \
 gtk.flags.texi gtk.objects.texi gdk.flags.texi gdk.structs.texi gtk.interfaces.texi gtk.widgets.texi gdk.objects.texi \
  gtk.enums.texi gtk.main_loop.texi gtk.structs.texi
        makeinfo --html --css-ref=style.css $<