Added pkgconfig file with paths used by bash-completion
parent
4ee9850e28
commit
90b67bc976
|
@ -13,3 +13,4 @@ doc/*.xml
|
|||
*~
|
||||
doc/html*
|
||||
bash_completion.sh
|
||||
bash-completion.pc
|
||||
|
|
|
@ -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 >$@
|
||||
|
||||
|
|
|
@ -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@
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue