renatofilho@911: #!/usr/bin/make -f
renatofilho@911: 
renatofilho@911: include /usr/share/cdbs/1/rules/debhelper.mk
renatofilho@911: include /usr/share/cdbs/1/class/autotools.mk
renatofilho@911: include /usr/share/cdbs/1/rules/simple-patchsys.mk
renatofilho@911: include /usr/share/cdbs/1/rules/utils.mk
renatofilho@911: 
renatofilho@911: # debian package version
renatofilho@911: version=$(shell dpkg-parsechangelog | grep ^Version: | cut -d ' ' -f 2)
renatofilho@911: 
renatofilho@911: maint: debian/control
renatofilho@911: 
renatofilho@911: common_conf_flags = \
renatofilho@911: 	--disable-debug
renatofilho@911: 
renatofilho@911: # FIXME: should disable docs for arch only builds
renatofilho@911: DEB_CONFIGURE_EXTRA_FLAGS := $(common_conf_flags)
renatofilho@911: 
renatofilho@911: DEB_INSTALL_DOCS_ALL += debian/README.Debian NEWS
renatofilho@911: 
renatofilho@911: .PHONY: maint