]> 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>
Thu, 20 Oct 2011 16:43:44 +0000 (23:43 +0700)
commit3500d098e8dbbde938e62313767b42a5be1b3be6
treef95a6c366107c5609779c4e9049e86ea7653a410
parentdc827a2dcdf240ae3152152ef70159c9ee406b44
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