#!/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 ########################################################### 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 # Add here commands to compile the package. $(MAKE) pod2man ./src/cssh >./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. -$(MAKE) distclean rm -f ./cssh.1 dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs # Add here commands to 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/share/man/man1/cssh.1.gz /usr/share/man/man1/crsh.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 dh_installdocs 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