[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Some file installed in /usr/local after refreshing debian/rules by dh-make-perl...

On Sun, 29 Jun 2008 23:12:27 +0900, Charles Plessy wrote:

> thanks for the help and the patch. 

You're welcome.
> > * Why do you need ./install - you could copy the static HTML from
> >   debian/foo.html in debian/rules?
> Good point. Now instead of patching, I just ignore ./install and
> extracted by hand an appropriate index.html file that I store in the
> debian directory.

Sounds good.
> > * What are you doing with the mv commands?
> emboss-explorer depends on apache2 | httpd-cgi, but contains an
> interesting Perl module that can be used to parse some files of the
> EMBOSS bioinformatical software suite. With the mv commands, I move it
> and its manpage to a separate Debian binary package, so that users can
> install them without installing a webserver.

Ok, sounds reasonable.
> From a Perl point of view, the package is getting in a good shape,
> except that make distclean fails when run after a build:

> Makefile out-of-date with respect to Makefile.PL
> Cleaning current config before rebuilding Makefile...

That usually means that Makefile.PL is un/patched which changes the

/me svn co's the package again. 

Right, that's 05-build-manpages.dpatch

You could try the following in the clean target:

Index: debian/rules
--- debian/rules	(revision 2105)
+++ debian/rules	(working copy)
@@ -31,7 +31,7 @@
 	dh_clean build-stamp install-stamp
 	# Add commands to clean up after the build process here
-	[ ! -f Makefile ] || $(MAKE) realclean
+	[ ! -f Makefile ] || ( touch Makefile && $(MAKE) realclean )
 install: install-stamp
 install-stamp: build-stamp


 .''`.   http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
 : :' :  debian gnu/linux user, admin & developer - http://www.debian.org/
 `. `'   member of https://www.vibe.at/ | how to reply: http://got.to/quote/
   `-    NP: Flying Pickets: Deep Feeling

Attachment: signature.asc
Description: Digital signature

Reply to: