Switch to debhelper with autoreconf
This commit is contained in:
parent
6f6bbdb31f
commit
25f6150b84
2
debian/compat
vendored
2
debian/compat
vendored
@ -1 +1 @@
|
||||
8
|
||||
9
|
||||
|
5
debian/control
vendored
5
debian/control
vendored
@ -6,9 +6,8 @@ Uploaders: Mike Gabriel <sunweaver@debian.org>,
|
||||
John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>,
|
||||
Stefano Karapetsas <stefano@karapetsas.com>,
|
||||
Vangelis Mouhtsis <vangelis@gnugr.org>,
|
||||
Build-Depends: cdbs,
|
||||
Build-Depends: debhelper (>= 9),
|
||||
dh-autoreconf,
|
||||
debhelper,
|
||||
mate-common,
|
||||
docbook-to-man,
|
||||
autotools-dev,
|
||||
@ -26,7 +25,6 @@ Build-Depends: cdbs,
|
||||
libdbus-glib-1-dev,
|
||||
libxml2-dev,
|
||||
libmarco-dev,
|
||||
mate-settings-daemon,
|
||||
libxft-dev,
|
||||
libxrender-dev,
|
||||
libxrandr-dev,
|
||||
@ -37,7 +35,6 @@ Build-Depends: cdbs,
|
||||
libunique-dev,
|
||||
desktop-file-utils,
|
||||
shared-mime-info,
|
||||
scrollkeeper,
|
||||
libgtop2-dev,
|
||||
xsltproc,
|
||||
libstartup-notification0-dev,
|
||||
|
39
debian/rules
vendored
39
debian/rules
vendored
@ -1,31 +1,24 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
include /usr/share/cdbs/1/rules/debhelper.mk
|
||||
include /usr/share/cdbs/1/rules/utils.mk
|
||||
include /usr/share/cdbs/1/class/autotools.mk
|
||||
%:
|
||||
dh $@ --with autoreconf
|
||||
|
||||
DEB_DH_INSTALL_ARGS += --list-missing
|
||||
override_dh_install:
|
||||
rm -rfv debian/tmp/usr/share/applications/mimeinfo.cache
|
||||
rm -rfv debian/tmp/usr/lib/*/*.la
|
||||
rm -rfv debian/tmp/usr/lib/*/*/*.la
|
||||
dh_install --list-missing
|
||||
|
||||
DEB_CONFIGURE_SCRIPT := ./autogen.sh
|
||||
override_dh_auto_configure:
|
||||
dh_auto_configure -- \
|
||||
--disable-scrollkeeper \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
--disable-update-mimedb \
|
||||
--with-gtk=2.0
|
||||
|
||||
DEB_CONFIGURE_EXTRA_FLAGS += \
|
||||
--disable-scrollkeeper \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
--disable-update-mimedb
|
||||
|
||||
# enable ubuntu hack only in oneiric (not needed in precise)
|
||||
ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes),yes)
|
||||
ifeq ($(shell lsb_release -cs),oneiric)
|
||||
DEB_CONFIGURE_EXTRA_FLAGS += --enable-ubuntu
|
||||
endif
|
||||
endif
|
||||
|
||||
binary-post-install/mate-control-center::
|
||||
rm -f debian/*/usr/share/applications/mimeinfo.cache
|
||||
rm -f debian/*/usr/lib/*.la
|
||||
rm -f debian/*/usr/lib/*/*.la
|
||||
|
||||
override_dh_strip:
|
||||
dh_strip --dbg-package=mate-control-center-dbg
|
||||
|
||||
get-orig-source:
|
||||
uscan --noconf --force-download --rename --download-current-version --destdir=..
|
||||
|
Loading…
Reference in New Issue
Block a user