2016-01-25 04:45:34 -06:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
|
|
|
DHFLAGS=--parallel
|
|
|
|
|
|
|
|
%:
|
|
|
|
dh $@ $(DHFLAGS)
|
|
|
|
|
|
|
|
override_dh_install:
|
2016-01-25 08:13:49 -06:00
|
|
|
rm -rfv debian/tmp/usr/lib/*/xedit/plugin-loaders/*.la
|
|
|
|
rm -rfv debian/tmp/usr/lib/*/xedit/plugins/*.la
|
2016-01-25 04:45:34 -06:00
|
|
|
dh_install --fail-missing
|
|
|
|
|
|
|
|
override_dh_auto_configure:
|
|
|
|
# upstream tarball is without configure. autogen.sh will create it
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
|
|
dh_auto_configure $(DHFLAGS) -- \
|
|
|
|
--disable-silent-rules \
|
|
|
|
--libexecdir=/usr/lib/ \
|
|
|
|
--disable-python \
|
|
|
|
--enable-gtk-doc \
|
|
|
|
--with-gtk=3.0
|
|
|
|
|
|
|
|
override_dh_installchangelogs:
|
|
|
|
dh_installchangelogs NEWS
|
|
|
|
|
|
|
|
override_dh_auto_test:
|
|
|
|
DEB_BUILD_OPTIONS=nocheck dh_auto_test
|
|
|
|
|
|
|
|
override_dh_strip:
|
2016-01-25 08:13:49 -06:00
|
|
|
dh_strip --dbg-package=xedit-dbg
|
2016-01-25 04:45:34 -06:00
|
|
|
|
|
|
|
get-orig-source:
|
|
|
|
uscan --noconf --force-download --rename --download-current-version --destdir=..
|