On Wednesday 30 April 2003 10:11, Jeremy Lainé wrote: > > AFAIK, this is not OK. Though I used to do it myself too. The > > correct way, I believe is to make a tar.gz file, like the one which > > is online, and build the Debian package from that. > > To achieve this I use the "deb-makepkg" script below. You need to > adjust the BUILDIR to wherever you build your Debian packages. Next > you cd to your working copy of your package, and type : > deb-makepkg <package> <version> > > What this does: > * "make dist" to build the .tar.gz then renames it to > package_version.orig.tar.gz > * extracts the tar.gz > * scans debian/CVS to know what files are actually part of the CVS > module (except .cvsignore files) and copies these files to debian/ in > the directory where the .tar.gz was extracted > * runs dpkg-buildpackage -rfakeroot
Right. I do a similar things for Jmol, see: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jmol/Jmol/packaging/debian/Makefile?rev=1.11&content-type=text/vnd.viewcvs-markup with the setup target. Egon