[Bash-completion-commits] [SCM] bash-completion branch, master, updated. c030827fdce7f7bd647fa3ebce6841dcdce4f4ce
Guillaume Rousse
Guillaume.Rousse at inria.fr
Mon Aug 9 20:25:07 UTC 2010
The following commit has been merged in the master branch:
commit c030827fdce7f7bd647fa3ebce6841dcdce4f4ce
Author: Guillaume Rousse <Guillaume.Rousse at inria.fr>
Date: Mon Aug 9 22:24:52 2010 +0200
dynamic creation of perldoc completion, to point to helper script
diff --git a/contrib/Makefile.am b/contrib/Makefile.am
index 6c5a586..f8420e1 100644
--- a/contrib/Makefile.am
+++ b/contrib/Makefile.am
@@ -1,4 +1,4 @@
-bashcomp_DATA = abook \
+static_bashcomp = abook \
ant \
apache2ctl \
apt \
@@ -99,7 +99,6 @@ bashcomp_DATA = abook \
openldap \
openssl \
p4 \
- perl \
pine \
pkg-config \
pkg_install \
@@ -165,7 +164,14 @@ bashcomp_DATA = abook \
yp-tools \
yum-arch
-EXTRA_DIST = $(bashcomp_DATA) \
+generated_bashcomp = perl
+
+bashcomp_DATA = $(static_bashcomp) $(generated_bashcomp)
+
+perl: perl.in Makefile
+ sed -e 's|@helpersdir[@]|$(helpersdir)|' <$(srcdir)/$@.in >$@
+
+EXTRA_DIST = $(bashcomp_DATA) perl.in \
_mock _modules _subversion _yum _yum-utils
CLEANFILES = perl
--
bash-completion
More information about the Bash-completion-commits
mailing list