| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4 |
| 5 |
|
| 6 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 7 |
DPKG_EXPORT_BUILDFLAGS = 1 |
| 8 |
include /usr/share/dpkg/buildflags.mk |
| 9 |
|
| 10 |
%: |
| 11 |
dh $@ $(DHFLAGS) --with gir --without autoreconf |
| 12 |
|
| 13 |
override_dh_auto_configure: |
| 14 |
NOCONFIGURE=1 ./autogen.sh |
| 15 |
dh_auto_configure $(DHFLAGS) -- --enable-introspection=yes \ |
| 16 |
--enable-gtk-doc \ |
| 17 |
--enable-headless-tests \ |
| 18 |
--disable-silent-rules |
| 19 |
|
| 20 |
override_dh_auto_install: |
| 21 |
dh_auto_install |
| 22 |
find debian/tmp/usr/lib -name \*.la -exec rm {} \; |
| 23 |
find debian/tmp/usr/lib -name \*.a -exec rm {} \; |
| 24 |
|
| 25 |
override_dh_install: |
| 26 |
mkdir -p debian/tmp/usr/share/doc/libbamf-doc/ |
| 27 |
mv debian/tmp/usr/share/gtk-doc/html/libbamf debian/tmp/usr/share/doc/libbamf-doc/html |
| 28 |
ln -s ../../doc/libbamf-doc/html debian/tmp/usr/share/gtk-doc/html/libbamf |
| 29 |
dh_install |
| 30 |
|
| 31 |
override_dh_missing: |
| 32 |
dh_missing --fail-missing |
| 33 |
|
| 34 |
override_dh_girepository: |
| 35 |
dh_girepository -pgir1.2-bamf-3 |
| 36 |
|
| 37 |
get-orig-source: |
| 38 |
uscan --noconf -vv --force-download --rename --repack --download-current-version --destdir=.. |