| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
%: |
| 4 |
dh $@ --with quilt --builddirectory=build/ |
| 5 |
|
| 6 |
override_dh_auto_configure-indep: docflags = --enable-specs --with-xmlto |
| 7 |
override_dh_auto_configure-arch: docflags = --disable-specs |
| 8 |
|
| 9 |
override_dh_auto_configure-indep override_dh_auto_configure-arch: |
| 10 |
dh_auto_configure -- \ |
| 11 |
$(docflags) \ |
| 12 |
--without-fop |
| 13 |
|
| 14 |
override_dh_install: |
| 15 |
# Kill *.xml, *.la files, we don't need them: |
| 16 |
find debian/tmp -name '*.xml' -delete |
| 17 |
find debian/tmp -name '*.la' -delete |
| 18 |
dh_install -plibx11-dev \ |
| 19 |
--exclude=usr/include/X11/Xlib-xcb.h |
| 20 |
dh_install -plibx11-doc \ |
| 21 |
--exclude=usr/include/X11/Xlib-xcb.h \ |
| 22 |
--exclude=usr/share/man/man3/XGetXCBConnection.3 \ |
| 23 |
--exclude=usr/share/man/man3/XSetEventQueueOwner.3 |
| 24 |
dh_install --remaining-packages |
| 25 |
|
| 26 |
override_dh_makeshlibs: |
| 27 |
dh_makeshlibs -plibx11-6 -V'libx11-6 (>= 2:1.6.0)' --add-udeb=libx11-6-udeb -- -c4 |
| 28 |
dh_makeshlibs -plibx11-xcb1 -V'libx11-xcb1' -- -c4 |
| 29 |
dh_makeshlibs -a -Nlibx11-6 -Nlibx11-xcb1 -- -c4 |