#!/usr/bin/make -f #-*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 DEVDIR=$(CURDIR)/debian/libwgdb-dev/ INSTALLDIR=$(CURDIR)/debian/tmp/ override_dh_auto_configure: dh_auto_configure -- --without-gcc-arch override_dh_auto_install: dh_auto_install sed 's|WhiteDB \\|wgdb \\|' $(INSTALLDIR)/usr/share/man/man7/whitedb.7 \ >$(INSTALLDIR)/usr/share/man/man7/wgdb.7 $(RM) $(INSTALLDIR)/usr/share/man/man7/whitedb.7 override_dh_installexamples: dh_installexamples sed -i 's|"../Db/\(.\+\)"||' \ $(DEVDIR)/usr/share/doc/libwgdb-dev/examples/demo.c \ $(DEVDIR)/usr/share/doc/libwgdb-dev/examples/query.c override_dh_fixperms: dh_fixperms chmod a-x $(DEVDIR)/usr/share/doc/libwgdb-dev/examples/dserve.c %: dh $@ --with autoreconf .PHONY: override_dh_auto_configure override_dh_auto_install \ override_dh_installexamples override_dh_fixperms