Install patches from David J. Mackenzie to make the srcdir option
authorJim Blandy <jimb@redhat.com>
Sat, 15 May 1993 23:06:16 +0000 (23:06 +0000)
committerJim Blandy <jimb@redhat.com>
Sat, 15 May 1993 23:06:16 +0000 (23:06 +0000)
commitd2d92f7a66e5b24258b4ad77ee31110385a53297
tree10688681b61fc83c29401585500e9b3e82cb8b50
parentad2e78fb7c50b3e94bc6cf0166daae562e65a535
Install patches from David J. Mackenzie to make the srcdir option
work.
* Makefile.in (srcdir, VPATH): Get this value from the top-level
Makefile.
(INSTALLABLES): Split this into two lists - INSTALLABLES and
INSTALLABLE_SCRIPTS.
(INSTALLABLE_SCRIPTS): New list.
(EXECUTABLES): Include INSTALLABLE_SCRIPTS.
(${archlibdir}): The scripts to be installed live in the source
tree, not in the object tree.
(test-distrib): Note that the data file lives in the source tree,
not the object tree.
(GETOPTDEPS): Note that getopt.h lives in the source tree.
(all other targets): Change references to source files to use
${srcdir}, except for config.h, which lives in the object dir.
(timer.o): Note that this depends on ../src/config.h.
* make-docfile.c (main): Add a -d option, to tell it where to find
the source files.
* test-distrib.c (main): Take the name of the distribution file to
test from the command line.
lib-src/make-docfile.c
lib-src/test-distrib.c