[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-253-g90b67bc

David Paleino dapal at debian.org
Mon May 2 18:32:03 UTC 2011


The following commit has been merged in the master branch:
commit 90b67bc976dccc655f7ba89714b6c1e5b1e5ddc5
Author: David Paleino <dapal at debian.org>
Date:   Mon May 2 20:31:47 2011 +0200

    Added pkgconfig file with paths used by bash-completion

diff --git a/.gitignore b/.gitignore
index 45395fa..742b7e3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,4 @@ doc/*.xml
 *~
 doc/html*
 bash_completion.sh
+bash-completion.pc
diff --git a/Makefile.am b/Makefile.am
index 2e963b2..0c1d845 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5,6 +5,9 @@ pkgdata_DATA = bash_completion
 profiledir = $(sysconfdir)/profile.d
 profile_DATA = bash_completion.sh
 
+pkgconfigdir = $(datadir)/pkgconfig
+pkgconfig_DATA = bash-completion.pc
+
 bash_completion.sh: bash_completion.sh.in Makefile
 	sed -e 's|@pkgdatadir[@]|$(pkgdatadir)|' <$(srcdir)/$@.in >$@
 
diff --git a/bash-completion.pc.in b/bash-completion.pc.in
new file mode 100644
index 0000000..c73cd39
--- /dev/null
+++ b/bash-completion.pc.in
@@ -0,0 +1,9 @@
+prefix=@prefix@
+compatdir=@compatdir@
+completionsdir=@datarootdir@/@PACKAGE@/completions
+helpersdir=@datarootdir@/@PACKAGE@/helpers
+
+Name: bash-completion
+Description: programmable completion for the bash shell
+URL: http://bash-completion.alioth.debian.org/
+Version: @VERSION@
diff --git a/configure.ac b/configure.ac
index 875811d..723a49d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,5 +2,5 @@ AC_PREREQ([2.59])
 AC_INIT([bash-completion], [1.99])
 AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip -Wall -Werror])
 AC_SUBST(compatdir, $sysconfdir/bash_completion.d)
-AC_CONFIG_FILES([Makefile completions/Makefile helpers/Makefile test/Makefile])
+AC_CONFIG_FILES([Makefile completions/Makefile helpers/Makefile test/Makefile bash-completion.pc])
 AC_OUTPUT

-- 
bash-completion



More information about the Bash-completion-commits mailing list