Fix autotools to use pkgdatadir instead of redefining datadir, get rid of helpersdir.
This commit is contained in:
parent
00a6abb136
commit
daf29255f4
@ -1,6 +1,6 @@
|
|||||||
SUBDIRS = completions test
|
SUBDIRS = completions test
|
||||||
|
|
||||||
data_DATA = bash_completion
|
pkgdata_DATA = bash_completion
|
||||||
|
|
||||||
profiledir = $(sysconfdir)/profile.d
|
profiledir = $(sysconfdir)/profile.d
|
||||||
profile_DATA = bash_completion.sh
|
profile_DATA = bash_completion.sh
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
AC_PREREQ([2.59])
|
AC_PREREQ([2.59])
|
||||||
AC_INIT([bash-completion], [1.99])
|
AC_INIT([bash-completion], [1.99])
|
||||||
AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip -Wall -Werror])
|
AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip -Wall -Werror])
|
||||||
AC_SUBST(datadir, $datarootdir/bash-completion)
|
AC_SUBST(bashcompdir, $pkgdatadir/completions)
|
||||||
AC_SUBST(bashcompdir, $datadir/completions)
|
|
||||||
AC_SUBST(helpersdir, $datadir/helpers)
|
|
||||||
AC_SUBST(compatdir, $sysconfdir/bash_completion.d)
|
AC_SUBST(compatdir, $sysconfdir/bash_completion.d)
|
||||||
AC_CONFIG_FILES([Makefile completions/Makefile completions/helpers/Makefile test/Makefile])
|
AC_CONFIG_FILES([Makefile completions/Makefile completions/helpers/Makefile test/Makefile])
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user