1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
#!/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/rules/simple-patchsys.mk
DEB_CONFIGURE_EXTRA_FLAGS += --bindir=/usr/games
DEB_INSTALL_MANPAGES_gamazons := debian/gamazons.6
update-config::
[ -e pixmaps/gnome-gamazons.xpm ] || \
convert -resize 32x32 pixmaps/gnome-gamazons.png pixmaps/gnome-gamazons.xpm
reverse-config::
rm -f pixmaps/gnome-gamazons.xpm
restore-cruft:
for f in \
config.h config.log config.status gamazons.glade.bak gamazons.gladep.bak Makefile Makefile.in pixmaps/Makefile po/Makefile \
po/Makefile.in po/POTFILES src/.deps src/interface.c.bak src/interface.h.bak src/Makefile stamp-h ; \
do \
rm -rf $$f ; \
cp -p -r ../orig/*/$$f $$f ; \
done
pre-build::
docbook-to-man debian/gamazons.sgml > debian/gamazons.6
clean::
rm -f debian/gamazons.6
|