* debian/rules: tell ./autogen.sh to not launch ./configure * debian/rules: install...
authorLuc Pionchon <luc.pionchon@nokia.com>
Mon, 17 Apr 2006 11:38:57 +0000 (11:38 +0000)
committerLuc Pionchon <luc.pionchon@nokia.com>
Mon, 17 Apr 2006 11:38:57 +0000 (11:38 +0000)
debian/changelog
debian/rules

index 1d74755..837921c 100644 (file)
@@ -1,5 +1,7 @@
 hildon-libs (0.12.9-1+svn-1) unstable; urgency=low
 
+  * debian/rules: tell ./autogen.sh to not launch ./configure 
+  * debian/rules: install docs only if ENABLE_GTK_DOC is set
   * debian/rules: ./configure call, put one argument per line for clarity.
   * debian/rules: call ./autogen.sh to create ./configure
 
index 1e57c17..4dd2959 100755 (executable)
@@ -48,7 +48,7 @@ config.status: $(SOURCE_DIR)/configure
                --disable-gtk-doc
 
 $(SOURCE_DIR)/configure:
-       AUTOGEN_SUBDIR_MODE=1 $(SOURCE_DIR)/autogen.sh
+       AUTOGEN_SUBDIR_MODE=1 NOCONFIGURE=yes $(SOURCE_DIR)/autogen.sh
 
 build: build-stamp
 build-stamp:  config.status
@@ -102,7 +102,11 @@ binary-arch: build install
        dh_testroot
        dh_installchangelogs 
 #      dh_installexamples
-       dh_installdocs
+       @if [ "x$(ENABLE_GTK_DOC)" != "x" ]; then \
+           dh_installdocs;                       \
+       else                                      \
+           echo "oh nooooooo, no gtk-doc :(";    \
+       fi
        dh_install --sourcedir=debian/build -v
 #      dh_installmenu
 #      dh_installdebconf