debian: more cleanups
authorMarko Kreen <markokr@gmail.com>
Wed, 4 Jan 2012 20:05:15 +0000 (22:05 +0200)
committerMarko Kreen <markokr@gmail.com>
Wed, 4 Jan 2012 20:05:15 +0000 (22:05 +0200)
- Use ./autgen instead autoreconf.  Latter is broken on non-automake trees.
- Drop override_dh_auto_build, seems unnecessary.
- Move config.mak dep from override_dh_auto_build to override_dh_auto_configure

debian/rules

index f95419190a1164546bf72569991218635b5fdba7..01f95d0b9a1b033f46e6d1f1c0d5d6b7be7d3ba1 100755 (executable)
@@ -25,10 +25,10 @@ ORIG_EXCLUDE=--exclude-vcs --exclude=debian
 include /usr/share/postgresql-common/pgxs_debian_control.mk
 
 config.mak:
-       autoreconf -I lib/m4
+       ./autogen.sh
        ./configure --prefix=/usr --with-asciidoc --with-sk3-subdir
 
-override_dh_auto_configure:
+override_dh_auto_configure: config.mak
 
 override_dh_auto_clean: config.mak debian/control
        make -C doc realclean
@@ -37,9 +37,6 @@ override_dh_auto_clean: config.mak debian/control
                rm -rf debian/postgresql-$${version}-pgq3; \
        done
 
-override_dh_auto_build: config.mak lib/build
-       dh_auto_build -- SQLDIR=/usr/share/skytools3
-
 # upstream build system will build fine for one given PostgreSQL version,
 # then we build the PostgreSQL module and files for yet another version of
 # it so that we have binary packages for postgresql-8.4-pgq3 and 9.0.