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

Re: Creating a debian package that doesn't need compiling...



Jeremy Higgs <jhiggs@iprsystems.com> writes:
JH> I have read the maintainer's guide that is at the Debian Documentation
JH> Project, but it seems to only cover packages that require compiling -
JH> which RCF doesn't.
JH> 
JH> After running dh_make and cd'ing to the debian directory, is there a
JH> file that allows you to tell dpkg (or whatever is handling the
JH> package) to put certain files into certain places, and/or do certain
JH> things? I've looked at the debian/rules files, but that refers to
JH> compiling from source, and I don't need that!

The debian/rules file is the only thing that tells the package build
system how to build a package.  If you don't require any compilation,
just don't call 'make' in debian/rules; this probably means you'll
have an empty 'build' target, which is fine.  I've found the
dh_movefiles Debhelper script to be helpful in arranging files into
packages, or you can manually call 'cp' or 'install' from debian/rules 
to get files from the source directory into debian/tmp or
debian/packagename.

-- 
David Maze             dmaze@mit.edu          http://www.mit.edu/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell



Reply to: