debian swirl logo

Back to the packages list gnome-mastermind

#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/class/gnome.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk

DEB_INSTALL_DOCS_ALL = TODO
DEB_CONFIGURE_EXTRA_FLAGS += --disable-scrollkeeper --bindir=/usr/games

CRUFT = \
		gnome-doc-utils.make \
		help/fr/gnome-mastermind.xml \
		help/fr/legal.xml \
		help/it/gnome-mastermind.xml \
		help/it/legal.xml \
		help/id/gnome-mastermind.xml \
		help/id/legal.xml \

update-config::
		[ -e icons/32x32/gnome-mastermind.xpm ] || \
		convert -resize 32x32  icons/32x32/gnome-mastermind.png icons/32x32/gnome-mastermind.xpm
		for f in $(CRUFT) ; do [ -e $$f.d-r-orig ] || cp -p $$f $$f.d-r-orig ; done

reverse-config::
		rm -f icons/32x32/gnome-mastermind.xpm

clean::
		for f in $(CRUFT) ; do [ ! -e $$f.d-r-orig ] || mv $$f.d-r-orig $$f ; done
	#for f in $(CRUFT) ; do cp -p ../orig/*/$$f $$f ; done

Builds:

gnome-mastermind
mastermind (tm) clone for gnome desktop