#!/usr/bin/make -f build: build-stamp build-stamp: patch touch configure.in # make sure configure has a more recent touch configure # timestamp than configure.in dh build --before configure dh_auto_configure -- --disable-autoupdatecheck --with-dbus dh build --after configure touch $@ clean: clean1 unpatch clean1: dh clean install: build install-stamp install-stamp: dh install --until dh_prep # Create .xpm from .png and install it mkdir -p $(CURDIR)/debian/filezilla/usr/share/pixmaps convert $(CURDIR)/src/interface/resources/32x32/filezilla.png \ $(CURDIR)/debian/filezilla/usr/share/pixmaps/filezilla.xpm dh install --after dh_prep --before dh_installchangelogs # Install upstream NEWS file as changelog dh_installchangelogs -k NEWS dh install --after dh_installchangelogs --before dh_link # Remove doc from filezilla binary package, # a symlink to filezilla-common is created by dh_link rm -rf debian/filezilla/usr/share/doc/ dh install --remaining touch $@ binary-arch: install dh binary-arch binary-indep: install dh binary-indep patch: patch-stamp patch-stamp: dpatch apply-all dpatch cat-all >patch-stamp touch patch-stamp unpatch: dpatch deapply-all rm -rf patch-stamp debian/patched binary: binary-arch binary-indep .PHONY: build clean binary-indep binary-arch binary install patch unpatch clean1