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