Use $(datadir) instead of $(prefix)/share. - enscript - GNU Enscript
 (HTM) git clone git://thinkerwim.org/enscript.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 2be5aaf9cd769d29299b91f66620b7767f1cc093
 (DIR) parent ed440887c1580cd17b2fb58ef56a03b72428d76b
 (HTM) Author: Tim Retout <diocles@gnu.org>
       Date:   Sat,  9 Jul 2011 23:26:52 +0100
       
       Use $(datadir) instead of $(prefix)/share.
       
       Signed-off-by: Tim Retout <diocles@gnu.org>
       
       Diffstat:
         M ChangeLog                           |       4 ++++
         M src/Makefile.am                     |       2 +-
         M states/Makefile.am                  |       4 ++--
       
       3 files changed, 7 insertions(+), 3 deletions(-)
       ---
 (DIR) diff --git a/ChangeLog b/ChangeLog
       @@ -1,5 +1,9 @@
        2011-07-09  Tim Retout  <diocles@gnu.org>
        
       +        * states/Makefile.am: Use $(datadir) instead of $(prefix)/share.
       +          Savannah bug #31609.
       +        * src/Makefile.am: Likewise.
       +
                * src/Makefile.am: Remove ansi2knr option and supporting files.
                * afmlib/Makefile.am: Likewise.
        
 (DIR) diff --git a/src/Makefile.am b/src/Makefile.am
       @@ -40,7 +40,7 @@ mkafmmap_DEPENDENCIES = ../afmlib/libafm.a ../compat/libcompat.a
        
        noinst_HEADERS = gsint.h
        
       -localedir = $(prefix)/share/locale
       +localedir = $(datadir)/locale
        
        INCLUDES = -I$(srcdir)/../compat -I$(srcdir)/../afmlib                        \
        -I$(srcdir)/../intl -I../intl -DLOCALEDIR=\"$(localedir)\"                \
 (DIR) diff --git a/states/Makefile.am b/states/Makefile.am
       @@ -42,13 +42,13 @@ noinst_HEADERS = defs.h gram.h
        
        EXTRA_DIST = ChangeLog.old TODO over.in enscript.el
        
       -localedir = $(prefix)/share/locale
       +localedir = $(datadir)/locale
        
        bin_SCRIPTS = over
        CLEANFILES = $(bin_SCRIPTS)
        
        over: $(srcdir)/over.in
       -        sed 's%@LIBRARYDIR@%$(prefix)/share/enscript%g' \
       +        sed 's%@LIBRARYDIR@%$(datadir)/enscript%g' \
                $(srcdir)/over.in > over
        
        AM_YFLAGS = -d