#!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk #run autoreconf to generate configure stuff makebuilddir:: aclocal libtoolize autoconf autoheader automake # Workaround which runs ``make distclean'' before unapplying patches cleanbuilddir:: # Invoke distclean -$(DEB_MAKE_INVOKE) -k distclean rm -f data/GNOME_Gwget.server.in data/GNOME_Gwget.server \ data/gwget.schemas # cleanup generated autoconf files (now we want them regenerated) rm -f config.h.in rm -f configure rm -f libtool rm -f ltmain.sh rm -f aclocal.m4 rm -f data/Makefile.in rm -f epiphany-extension/Makefile.in rm -f Makefile.in rm -f pixmaps/Makefile.in rm -f src/Makefile.in LDFLAGS := -Wl,--as-needed include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/class/gnome.mk include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk -include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk include /usr/share/cdbs/1/rules/patchsys-quilt.mk GNOME_MODULE := gwget DEB_MAKE_CLEAN_TARGET := DEB_CONFIGURE_EXTRA_FLAGS += --enable-epiphany-extension \ --with-epiphany-version=2.29 --disable-static binary-post-install/epiphany-extension-gwget:: rm -f debian/epiphany-extension-gwget/usr/lib/epiphany-*/*/*/*.la rm -f debian/epiphany-extension-gwget/usr/lib/epiphany-*/*/*/*.xml