[KLUG Programming] Makefile Hell

Peter Buxton programming@kalamazoolinux.org
Thu, 28 Aug 2003 12:22:41 -0400


On Thu, Aug 28, 2003 at 09:01:27AM -0400, Adam Williams was only escaped
   alone to tell thee:

> Ah yes, what fond memories.  Makefile Hell, just across the libtool
> channel from the GCC Version Mania themepark.

Not that you're bitter, or anything.... ;-)

> man install ...
> -D     create all leading components of DEST except the last, then copy
>        SOURCE to DEST;  useful in the 1st format
> 
> Perhaps?

Yes, but I tried desperately to fit it somewhere, and failed. The
Makefile is too tightly written to just cram it in there.

I did find a solution, though. Running dh_make(8) creates a ./debian
subfolder in the source folder. The 'dirs' file is in there, with a list
of directories to create in ./debian/tmp, where the files are installed.
(Apparently, a lot of others have had this same problem.) As a sample
file, it contained usr/bin and usr/sbin, which were being created when I
ran dpkg-buildpackage(1), but not when I ran 'make install'.

One question. Does Red Hat link kill to skill? The default package
doesn't create that file.

-- 
-22
ed(1) - The standard Unix text editor.