From 753a0044bea64af3037af143f20084f39228c06a Mon Sep 17 00:00:00 2001 From: fourdan Date: Mon, 15 Jan 2007 09:18:48 +0000 Subject: Update package for Debian Etch --- debian/changelog | 6 ++++ debian/dirs | 3 +- debian/rules | 87 +++++++++++++++++++++++++++++++++++--------------------- 3 files changed, 63 insertions(+), 33 deletions(-) diff --git a/debian/changelog b/debian/changelog index 8040851..484ccfa 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +ivylaunch (1.5-2) unstable; urgency=low + + * Update package for Debian Etch + + -- Olivier Fourdan Mon, 15 Jan 2007 10:18:33 +0100 + ivylaunch (1.5) unstable; urgency=low * Redirection de la sortie d'erreur des processus fils diff --git a/debian/dirs b/debian/dirs index ca882bb..e318cff 100644 --- a/debian/dirs +++ b/debian/dirs @@ -1,2 +1,3 @@ usr/bin -usr/sbin +usr/lib +usr/lib/ivylaunch diff --git a/debian/rules b/debian/rules index 3359410..f8e0d28 100755 --- a/debian/rules +++ b/debian/rules @@ -2,45 +2,67 @@ # Made with the aid of debmake, by Christoph Lameter, # based on the sample debian/rules file for GNU hello by Ian Jackson. +export DH_VERBOSE=1 package=ivylaunch -build: - $(checkdir) +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + touch configure-stamp + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + pod2man $(package) > $(package).1 touch build + touch build-stamp clean: - $(checkdir) - -rm -f build + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp -$(MAKE) clean - -rm -f `find . -name "*~"` - -rm -rf debian/tmp debian/files* core debian/substvars - -binary-indep: checkroot build - $(checkdir) -# There are no architecture-independent files to be uploaded -# generated by this package. If there were any they would be -# made here. + dh_clean -binary-arch: checkroot build - $(checkdir) - -rm -rf debian/tmp - install -d debian/tmp - cd debian/tmp && install -d `cat ../dirs` - install -d debian/tmp/usr/lib/$(package) - install -m755 $(package) debian/tmp/usr/bin/$(package) - install -m644 FugueConfig.pm debian/tmp/usr/lib/$(package)/FugueConfig.pm -# Must have debmake installed for this to work. Otherwise please copy -# /usr/bin/debstd into the debian directory and change debstd to debian/debstd - pod2man $(package) > $(package).1 - debstd - dpkg-gencontrol - chown -R root.root debian/tmp - chmod -R go=rX debian/tmp - dpkg --build debian/tmp .. - -define checkdir - test -f debian/rules -endef +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + install -m755 $(package) $(CURDIR)/debian/tmp/usr/bin/$(package) + install -m644 FugueConfig.pm $(CURDIR)/debian/tmp/usr/lib/$(package)/FugueConfig.pm + +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 binary: binary-indep binary-arch @@ -49,3 +71,4 @@ checkroot: test root = "`whoami`" .PHONY: binary binary-arch binary-indep clean checkroot + -- cgit v1.1