diff options
author | Stefan Kost <stefkost@src.gnome.org> | 2007-09-26 19:53:30 +0000 |
---|---|---|
committer | Stefan Kost <stefkost@src.gnome.org> | 2007-09-26 19:53:30 +0000 |
commit | 19cdb7ab7965dd022889770c37671691f4cb32f1 (patch) | |
tree | 2e3de8e93f4bc73568080e1aba57b83a72056efb | |
parent | f2820f54978351f40ac5466eba419fffd0b934e2 (diff) | |
download | gtk-doc-19cdb7ab7965dd022889770c37671691f4cb32f1.tar.gz |
If there is nothing to install, don't rebase.
* gtk-doc.make:
* gtk-doc.notmpl.make:
If there is nothing to install, don't rebase.
svn path=/trunk/; revision=505
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | gtk-doc.make | 10 | ||||
-rw-r--r-- | gtk-doc.notmpl.make | 10 |
3 files changed, 16 insertions, 10 deletions
@@ -2,6 +2,12 @@ * gtk-doc.make: * gtk-doc.notmpl.make: + If there is nothing to install, don't rebase. + +2007-09-26 Stefan Kost <ensonic@users.sf.net> + + * gtk-doc.make: + * gtk-doc.notmpl.make: Unbreak the last change. 2007-09-26 Stefan Kost <ensonic@users.sf.net> diff --git a/gtk-doc.make b/gtk-doc.make index d4431ab..6fc409e 100644 --- a/gtk-doc.make +++ b/gtk-doc.make @@ -139,11 +139,11 @@ install-data-local: done; \ echo '-- Installing $(srcdir)/html/index.sgml' ; \ $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR) || :; \ - fi - -if test "x$(DESTDIR)" = "x"; then \ - gtkdoc-rebase --relative --html-dir=$(TARGET_DIR) ; \ - else \ - gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR) ; \ + -if test "x$(DESTDIR)" = "x"; then \ + gtkdoc-rebase --relative --html-dir=$(TARGET_DIR) ; \ + else \ + gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR) ; \ + fi fi diff --git a/gtk-doc.notmpl.make b/gtk-doc.notmpl.make index 2add6c8..67483bf 100644 --- a/gtk-doc.notmpl.make +++ b/gtk-doc.notmpl.make @@ -124,11 +124,11 @@ install-data-local: done; \ echo '-- Installing $(srcdir)/html/index.sgml' ; \ $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR) || :; \ - fi - -if test "x$(DESTDIR)" = "x"; then \ - gtkdoc-rebase --relative --html-dir=$(TARGET_DIR) ; \ - else \ - gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR) ; \ + -if test "x$(DESTDIR)" = "x"; then \ + gtkdoc-rebase --relative --html-dir=$(TARGET_DIR) ; \ + else \ + gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR) ; \ + fi fi uninstall-local: |