#!/usr/bin/make -f # -*- makefile -*- # 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 # # modification history: # 20040412/tm initial version # 20050426/tm rework for autoconf in 3.3 # 20061213/tm add call to dpatch # 20071203/tm add ctel binary and manpage links # 20080929/tm convert from dpatch to quilt # 20091224/tm convert to source format 3.0 (quilt) ########################################################### configure: configure-stamp configure-stamp: dh_testdir ./configure --prefix=/usr --mandir=/usr/share/man touch configure-stamp build: build-stamp build-stamp: configure-stamp dh_testdir $(MAKE) pod2man ./src/cssh.pl >./cssh.1 touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. [ ! -f Makefile ] || $(MAKE) distclean rm -f ./cssh.1 dh_clean build-stamp install: build dh_testdir dh_testroot dh_prep dh_installdirs # install the package into debian/clusterssh. $(MAKE) install prefix=`pwd`/debian/clusterssh/usr mandir=`pwd`/debian/clusterssh/usr/share/man dh_link /usr/bin/cssh /usr/bin/crsh dh_link /usr/bin/cssh /usr/bin/ctel dh_link /usr/share/man/man1/cssh.1.gz /usr/share/man/man1/crsh.1.gz dh_link /usr/share/man/man1/cssh.1.gz /usr/share/man/man1/ctel.1.gz cp -p `pwd`/debian/clusterssh.desktop `pwd`/debian/clusterssh/usr/share/applications cp -p `pwd`/debian/clusterssh-32x32.xpm `pwd`/debian/clusterssh/usr/share/pixmaps/ # Build architecture-dependent files here. binary-arch: build install # We have nothing to do for arch=all packages here # Build architecture-independent files here. binary-indep: build install dh_testdir dh_testroot dh_installchangelogs ChangeLog dh_installdocs README dh_installmenu dh_installman cssh.1 dh_compress dh_fixperms dh_perl dh_installdeb dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure