]> git.ipfire.org Git - thirdparty/libtool.git/commit
build: don't hardcode repeated long paths in Makefile rules.
authorGary V. Vaughan <gary@gnu.org>
Thu, 23 Sep 2010 12:31:10 +0000 (19:31 +0700)
committerGary V. Vaughan <gary@gnu.org>
Fri, 24 Sep 2010 18:55:30 +0000 (01:55 +0700)
commitcdeb16ae0f034d210bb0a33b477b04f33f94b00a
tree864f3fd1e7f53e7b55ad9d00b3069fc09c2b1525
parent4f3d14a0ced18d627543949183ae018a01ef2205
build: don't hardcode repeated long paths in Makefile rules.

According to the DRY principle, scattering several copies of
something across a file or project leads to pain.  Let's not
do that!
* Makefile.am (Makefile_in, Makefile_inc, defs_in, defs_m4sh),
(libtoolize_in, ltmain_m4sh, ltversion_in): New variables to
hold the location of important files and targets.
(EXTRA_DIST): Add the distributed ones by variable.
(libtoolize, libltdl/Makefile.am, libltdl/m4/ltversion.m4)
(libltdl/config/ltmain.sh, libltdl/stamp-mk, tests/defs)
(tests/defs.in): Use the new variables to reduce noise and
repetition.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
ChangeLog
Makefile.am