396cf58
--- ./scripts/Makefile.am.orig	2015-04-09 23:09:22.000000000 +0100
396cf58
+++ ./scripts/Makefile.am	2015-07-02 02:45:12.844920000 +0100
96e50bb
@@ -21,7 +21,7 @@ bin_SCRIPTS = \
96e50bb
 	dpkg-source \
96e50bb
 	dpkg-vendor
96e50bb
 
96e50bb
-changelogdir = $(pkglibdir)/parsechangelog
96e50bb
+changelogdir = $(pkglibexecdir)/parsechangelog
96e50bb
 changelog_SCRIPTS = \
96e50bb
 	changelog/debian
96e50bb
 
396cf58
@@ -123,7 +123,7 @@ do_perl_subst = $(AM_V_GEN) \
96e50bb
 		sed -e "s:^\#![[:space:]]*/usr/bin/perl:\#!$(PERL):" \
396cf58
 		    -e "s:\$$CONFDIR[[:space:]]*=[[:space:]]*['\"][^'\"]*['\"]:\$$CONFDIR='$(pkgconfdir)':" \
396cf58
 		    -e "s:\$$ADMINDIR[[:space:]]*=[[:space:]]*['\"][^'\"]*['\"]:\$$ADMINDIR='$(admindir)':" \
396cf58
-		    -e "s:\$$LIBDIR[[:space:]]*=[[:space:]]*['\"][^'\"]*['\"]:\$$LIBDIR='$(pkglibdir)':" \
396cf58
+		    -e "s:\$$LIBDIR[[:space:]]*=[[:space:]]*['\"][^'\"]*['\"]:\$$LIBDIR='$(pkglibexecdir)':" \
396cf58
 		    -e "s:\$$DATADIR[[:space:]]*=[[:space:]]*['\"][^'\"]*['\"]:\$$DATADIR='$(pkgdatadir)':" \
396cf58
 		    -e "s:\$$PROGVERSION[[:space:]]*=[[:space:]]*['\"][^'\"]*[\"']:\$$PROGVERSION='$(PACKAGE_VERSION)':"
396cf58