On Sun, Jun 13, 1999 at 03:33:54PM +0100, John Travers wrote: > Thanks, one more question, do I give full path names to the files I'm dealing > with (which would make the rules file dependent on my system) or just relative > to tmp/usr or something?
I usually do something like this: install_zipped = gzip -9vc package = poster rootdir = $(shell pwd)/debian/tmp docdir = $(rootdir)/usr/doc/$(package) bindir = $(rootdir)/usr/bin man1dir = $(rootdir)/usr/man/man1 ... $(install_zipped) poster.1 > $(man1dir)/poster.1.gz That is, I use variables which contain absolute paths determined dynamically. That snippet was from poster's debian/rules. -- %%% Antti-Juhani Kaijanaho % [EMAIL PROTECTED] % http://www.iki.fi/gaia/ %%% "... memory leaks are quite acceptable in many applications ..." (Bjarne Stroustrup, The Design and Evolution of C++, page 220)