debian swirl logo

Back to the packages list xteddy

#!/usr/bin/make -f
# debian/rules for xteddy using cdbs
# Andreas Tille , GPL

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

pkg:= xteddy

DEB_MAKE_INSTALL_TARGET := install bindir=$(CURDIR)/debian/$(pkg)/usr/games \
                                   datadir= $(CURDIR)/debian/$(pkg)/usr/share \
                                   prefix= $(CURDIR)/debian/$(pkg)/usr

install/$(pkg)::
		for i in `ls debian/$(pkg)/usr/share/$(pkg)` ; do \
	    if [ `basename $$i .png` != $(pkg) ] ; then \
			( ln -s $(pkg) debian/$(pkg)/usr/games/`basename $$i .png`; \
		          ln -s $(pkg).6.gz debian/$(pkg)/usr/share/man/man6/`basename $$i .png`.6.gz ) \
		    fi \
		done

Builds:

xteddy
a cuddly teddy bear (or other image) for your x desktop