#!/usr/bin/make -f # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. export JAVA_HOME=/usr/lib/jvm/default-java build: build-stamp build-stamp: dh_testdir # Add here commands to compile the package. $(MAKE) touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp # Add here commands to clean up after the build process. $(MAKE) clean -rm -f other/filler.png -rm -f debian/filler.xpm -rm -f filler.jar dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs uudecode -o other/filler.png other/filler.u uudecode -o debian/filler.xpm debian/filler.u # Build architecture-independent files here. binary-indep: build install dh_testdir dh_testroot install -m 664 -o root -g games other/ratings.ser debian/filler/var/games/filler.ratings gzip -f debian/filler/var/games/filler.ratings install -m 755 -o root -g games other/filler debian/filler/usr/games install -m 644 -o root -g root debian/filler.xpm debian/filler/usr/share/pixmaps install -m 644 -o root -g root other/filler.png debian/filler/usr/share/pixmaps install -m 644 -o root -g root other/filler.desktop debian/filler/usr/share/applications install -m 644 -o root -g games filler.jar debian/filler/usr/share/java dh_installdocs dh_installmenu dh_installman dh_installchangelogs CHANGES dh_compress dh_fixperms # You may want to make some executables suid here. chown root debian/filler/usr/games/filler chgrp games debian/filler/usr/games/filler chmod 755 debian/filler/usr/games/filler dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary-arch: binary: binary-indep binary-arch .PHONY: build clean binary-indep binary install