From ca682fd66f1deee2fa47b0257143e2d17d322c58 Mon Sep 17 00:00:00 2001 From: fourdan Date: Fri, 12 Jan 2007 14:43:18 +0000 Subject: Update package for Debian Etch --- debian/rules | 50 +++++++++++++++++++++++++++++++------------------- 1 file changed, 31 insertions(+), 19 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 4234a7a..90f7fd0 100755 --- a/debian/rules +++ b/debian/rules @@ -25,30 +25,42 @@ clean: -$(MAKE) clean -rm -f `find . -name "*~"` -rm -rf debian/tmp debian/files* core debian/substvars - -binary-indep: checkroot build +install: $(checkdir) -rm -rf debian/tmp install -d debian/tmp/usr $(MAKE) pure_install PREFIX=$(TMP)/usr -# Must have debmake installed for this to work. Otherwise please copy -# /usr/bin/debstd into the debian directory and change debstd to debian/debstd - dh_perl - dh_fixperms - debstd - dpkg-gencontrol -isp - dpkg --build debian/tmp .. -binary-arch: checkroot build - $(checkdir) - $(checkversion) -# There are no architecture-dependent files to be uploaded -# generated by this package. If there were any they would be -# made here. - -define checkdir - test -f debian/rules -endef +binary-indep: build install +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_install --source=$(CURDIR)/debian/tmp +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb # Below here is fairly generic really -- cgit v1.1