On Fri, Aug 03, 2001 at 01:56:59PM +0430, Pratik Sinha wrote: > This is my first packaging experience...i read the New Maintainers Guide > and the debmake documentation...earlier i tried my hand out at making a > few rpms...
Use debhelper rather than debmake. Oh wait, you are already. > ./configure --prefix=/usr --exec_prefix= --mandir=\$${prefix}/share/man > --infodir=\$${prefix}/share/info --sbindir=\$${prefix}/sbin > --bindir=\$${prefix}/bin --libdir=\$${prefix}/lib --datadir=\$${prefix}/share > --localstatedir=/var --includedir=\$${prefix}/include > --oldincludedir=\$${prefix}/include --sysconfdir=\$${exec_prefix}/etc > --libexecdir=\$${prefix}/lib That's massive overkill, as most of those should be the defaults. Just specify the ones you change. I'd use: ./configure --prefix=/usr --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info \ --localstatedir=/var --sysconfdir=/etc Even then, only specify all of that if it actually uses them all. > install: build > dh_testdir > dh_testroot > dh_clean -k > dh_installdirs > > # Add here commands to install the package into debian/tmp. > $(MAKE) install prefix=`pwd`/debian/tmp/usr You also need to override the directories that weren't set to depend on ${prefix} above to go into the temporary package build directory, so: $(MAKE) install prefix=$(CURDIR)/debian/tmp/usr \ localstatedir=$(CURDIR)/debian/tmp/var \ sysconfdir=$(CURDIR)/debian/tmp/etc > dh_suidregister In testing/unstable, dh_suidregister has been obsoleted in favour of the dpkg-statoverride mechanism. -- Colin Watson [EMAIL PROTECTED]