Stop moving binary around
[darcs-mirror-screen-message.debian.git] / debian / rules
index 51b707e..ad22f2b 100644 (file)
@@ -1,59 +1,9 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-# debian/rules file for sm
-# (c) 2007 by Joachim Breitner
-# Based upon sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
 
-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
-       
-       dh_clean 
-
-install: build
-       dh_testdir
-       dh_testroot
-       dh_clean -k 
-       dh_installdirs
-       dh_install
-       dh_strip
-       dh_shlibdeps
-
-# Build architecture-dependent files here.
-binary-dep: build install
-
-# Build architecture-dependent files here.
-binary-arch: build install
-       dh_testdir
-       dh_testroot
-       dh_installchangelogs 
-       dh_installdocs
-       dh_installmenu
-       dh_installman
-       dh_compress
-       dh_fixperms
-       dh_installdeb
-       dh_gencontrol
-       dh_md5sums
-       dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install 
+install/sm::
+       dh_icons
+       mkdir -p debian/sm/usr/share/pixmaps
+       convert sm.png -resize 32x32 debian/sm/usr/share/pixmaps/sm.xpm