#!/usr/bin/make -f # Made with the aid of dh_make, by Craig Small # Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. # Some lines taken from debmake, by Cristoph Lameter. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export DH_COMPAT=3 configure: configure-stamp configure-stamp: dh_testdir ./configure --prefix=/usr --mandir=/usr/share/man touch $@ build: configure build-stamp build-stamp: dh_testdir $(MAKE) touch build-stamp clean: dh_testdir dh_testroot rm -f *-stamp # Add here commands to clean up after the build process. -$(MAKE) maintainer-clean rm -f po/*.gmo dh_clean install: install-stamp install-stamp: build-stamp dh_testdir dh_testroot dh_clean -k dh_installdirs $(MAKE) install prefix=`pwd`/debian/dedit/usr \ mandir=`pwd`/debian/dedit/usr/share/man mv `pwd`/debian/dedit/usr/share/man/man1/dedit.ja.1 \ `pwd`/debian/dedit/usr/share/man/ja/man1/dedit.1 touch install-stamp # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install # dh_testversion dh_testdir dh_testroot dh_installdocs # dh_installexamples dh_installmenu # dh_installemacsen # dh_installinit dh_installcron dh_installmanpages # dh_undocumented dh_installchangelogs dh_link dh_strip dh_compress dh_fixperms dh_suidregister dh_installdeb dh_shlibdeps dh_gencontrol # dh_makeshlibs dh_md5sums dh_builddeb source diff: @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary configure