Thomas Esser writes:

>> b) installation to $DESTDIR vs. $prefix :
>> 
>> for "make install" the makefiles in utils/texinfo and utils/texi2html 
>> use both $DESTDIR and $prefix for destination location while most other
>> tools/directories install to (only) $prefix.

> These use automake and follow the GNU standards and that's also where
> Olaf want's to go to (switch to autoconf) with web2c. teTeX-3.0 will
> use something like web2c-7.5.3 (with some smaller changes), so a uniform
> usage of DESTDIR / prefix for all packages in teTeX-3.0 is not feasible.

The treatment by web2c and kpathsea of $DESTDIR is uniform in that the
variable is uniformly ignored.

Bear in mind that $DESTDIR and $prefix complement each other, rather
than replacing each other.  So for example

        make install DESTDIR=/tmp/test/A prefix=/tmp/test/B

should result in files being installed under /tmp/test/A/tmp/test/B.
Note that texk/web2c/cwebdir/Makefile doesn't get this right.  That
file is unchanged from the original cweb source -- not adapted to
web2c -- which is why it is not used.

-- 
Olaf Weber

               (This space left blank for technical reasons.)

Reply via email to