#!/usr/bin/make -f #export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS := hardening=+all export DEB_CFLAGS_MAINT_APPEND := -pipe -Wall include /usr/share/dpkg/default.mk # export variables for autoreconf export AUTOMAKE := automake --foreign # according to help: speeds up one-time build confflags := --disable-dependency-tracking # GUI needed only for examples, don't even try to support it confflags += --disable-gui %: dh $@ override_dh_auto_configure: dh_auto_configure -- $(confflags) override_dh_installchangelogs: dh_installchangelogs -- CHANGES.txt override_dh_install: install -d debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/installed-tests/SDL2_net/ ./libtool --mode=install install chat chatd showinterfaces $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/installed-tests/SDL2_net/ dh_install override_dh_link: # fix lintian warning dev-pkg-without-shlib-symlink dh_link -plibsdl2-net-dev usr/lib/$(DEB_HOST_MULTIARCH)/libSDL2_net-2.0.so.0 usr/lib/$(DEB_HOST_MULTIARCH)/libSDL2_net-2.0.so dh_link --remaining-packages