On Mon, Jun 28, 1999 at 08:18:26AM -0400, Decklin Foster wrote: > Hamish Moffatt writes: > > > However I suspect you should not be doing "make prefix=..."; > > you should make without overriding prefix, and just override it > > during "make install". > > This is what I'm doing, actually; after running 'make' normally to > build the package, I run (from debian/rules, i haven't modifed it yet) > > # Add here commands to install the package into debian/tmp. > $(MAKE) install prefix=`pwd`/debian/tmp/usr > > > prefix can affect the program at runtime too. You don't want to hardcode > > the temporary location into any executables. > > I don't think this will cause problems with the binary, since $prefix > is not changed during the first run of make, I get > -DICONDIR=\"/usr/share/icons\" and so on when calling gcc. the
That should be fine. > 'install' rule just includes making directories, copying files, etc. > Am I correct? for now, I'll patch Makefile.in to use '${prefix}' > instead of '@prefix@'. That sounds like the correct fix. Hamish -- Hamish Moffatt VK3SB (ex-VK3TYD). CCs of replies from mailing lists are welcome.