[pygtk] Don't run 'fixxref.py' if documentation is not built



commit 5e1034ff15690da047c280022e9c9e99f3d8ba5b
Author: Björn Lindqvist <bjourne gmail com>
Date:   Fri May 8 23:31:57 2009 +0300

    Don't run 'fixxref.py' if documentation is not built
    
    Closes bug #536091.
---
 docs/Makefile.am |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/Makefile.am b/docs/Makefile.am
index 09d0556..c1b7239 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -633,9 +633,6 @@ install-data-local:
 	  done; \
 	fi
 
-install-data-hook:
-	@$(PYGOBJECT_FIXXREF) -i $(PYGOBJECT_PYGDOCS) $(DESTDIR)$(TARGET_DIR)
-
 uninstall-local:
 	rm -rf $(DESTDIR)$(TARGET_DIR)/*
 
@@ -646,6 +643,9 @@ DISTCLEANFILES = reference/builddate.xml $(HTML_FILES)
 
 CSS_DATA = $(CSS_FILES)
 
+install-data-hook:
+	@$(PYGOBJECT_FIXXREF) -i $(PYGOBJECT_PYGDOCS) $(DESTDIR)$(TARGET_DIR)
+
 reference/builddate.xml:
 	@$(PYTHON) -c 'import datetime; print datetime.date.today()' > $@
 



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