debian swirl logo

Back to the packages list balazarbrothers

#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-

include /usr/share/cdbs/1/rules/debhelper.mk
DEB_PYTHON_SYSTEM = pysupport
include /usr/share/cdbs/1/class/python-distutils.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk


DEB_PYTHON_INSTALL_ARGS_ALL += --install-scripts=/usr/games --install-purelib=/usr/share/games --install-data=/usr/share/games

MANPAGES := debian/balazar_brothers.6

build/$(DEB_PYTHON_MODULE_PACKAGE):: $(MANPAGES)

%.6: %.xml
		xsltproc -nonet -o $@ /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl $<

binary-install/balazarbrothers::
		mv debian/$(cdbs_curpkg)/usr/share/games/balazar_brothers/locale debian/$(cdbs_curpkg)/usr/share/games/
		find debian/$(cdbs_curpkg)/usr/share/games/locale -name "*.po" -exec rm {} \;
	#
		find debian/$(cdbs_curpkg)/usr/share/ -type f -exec chmod -R a-x {} \;
	#
		dh_installman -p$(cdbs_curpkg) $(MANPAGES)
	#
		mv debian/$(cdbs_curpkg)/usr/share/games/*.egg-info debian/$(cdbs_curpkg)/usr/share/games/balazar_brothers/

binary-predeb/balazarbrothers::
		find debian/balazarbrothers -depth -name ".arch-ids" -exec rm -rf {} \;

clean::
		rm -f $(MANPAGES)

Builds:

balazarbrothers
3d puzzle game