#!/usr/bin/make -f # make the package build on ubuntu and debian DIST = $(shell lsb_release -i -s) DHFLAGS=--parallel MESON_FLAGS= --prefix=/usr \ --localstatedir=/var/lib/synaptic \ -Dpkg_hold=true \ -Dtests=enabled %: dh $@ $(DHFLAGS) --buildsystem=meson --without autoreconf --without autotools-dev override_dh_auto_configure: dh_auto_configure $(DHFLAGS) -- $(MESON_FLAGS) override_dh_auto_install: dh_auto_install $(DHFLAGS) # allow per distro supported PIXMAP, FIXME: make this part # of the install (e.g. package-supported.{Ubuntu,Debian} and # do run-time switching if [ -f debian/package-supported.png.$(DIST) ]; then \ cp debian/package-supported.png.$(DIST) $(CURDIR)/debian/synaptic/usr/share/icons/hicolor/16x16/actions/package-supported.png; \ fi override_dh_installman: dh_installman -psynaptic man/synaptic.es.8 man/synaptic.fr.8 man/synaptic.hr.8 man/synaptic.ja.8 man/synaptic.pt_BR.8 man/synaptic.ru.8 man/synaptic.tr.8