[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-247-gdaf2925

David Paleino dapal at debian.org
Mon May 2 16:44:22 UTC 2011


The following commit has been merged in the master branch:
commit daf29255f44f5bd7128088de626d41f7ba47e07c
Author: David Paleino <dapal at debian.org>
Date:   Mon May 2 18:43:56 2011 +0200

    Fix autotools to use pkgdatadir instead of redefining datadir, get rid of helpersdir.

diff --git a/Makefile.am b/Makefile.am
index a41181d..6db610b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,6 @@
 SUBDIRS = completions test
 
-data_DATA = bash_completion
+pkgdata_DATA = bash_completion
 
 profiledir = $(sysconfdir)/profile.d
 profile_DATA = bash_completion.sh
diff --git a/configure.ac b/configure.ac
index e4a7762..fb61bb2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,9 +1,7 @@
 AC_PREREQ([2.59])
 AC_INIT([bash-completion], [1.99])
 AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip -Wall -Werror])
-AC_SUBST(datadir, $datarootdir/bash-completion)
-AC_SUBST(bashcompdir, $datadir/completions)
-AC_SUBST(helpersdir, $datadir/helpers)
+AC_SUBST(bashcompdir, $pkgdatadir/completions)
 AC_SUBST(compatdir, $sysconfdir/bash_completion.d)
 AC_CONFIG_FILES([Makefile completions/Makefile completions/helpers/Makefile test/Makefile])
 AC_OUTPUT

-- 
bash-completion



More information about the Bash-completion-commits mailing list