From 626f3fb24810da09ffeaee153b405d08b0001dc2 Mon Sep 17 00:00:00 2001 From: Michael E Brown Date: Tue, 18 Dec 2007 11:04:09 -0600 Subject: fixup bad substitution for LIBDIR. Cut-n-paste error. --- Makefile.am | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 24cb6fe..d901845 100644 --- a/Makefile.am +++ b/Makefile.am @@ -65,14 +65,14 @@ AUTHORS: REPLACE_VARS_ON_INSTALL=$(sbindir)/mock.py install-exec-hook: for i in $(REPLACE_VARS_ON_INSTALL); do \ - file=$(DESTDIR)/$$i ;\ - perl -p -i -e 's|^__VERSION__ =.*|__VERSION__="$(RELEASE_VERSION)"|' $$file ;\ - perl -p -i -e 's|^SYSCONFDIR =.*|SYSCONFDIR="$(sysconfdir)"|' $$file ;\ - perl -p -i -e 's|^PYTHONDIR =.*|PYTHONDIR="$(pythondir)"|' $$file ;\ - perl -p -i -e 's|^PKGPYTHONDIR =.*|PKGPYTHONDIR="$(pkgpythondir)"|' $$file ;\ - perl -p -i -e 's|^PKGDATADIR =.*|PKGDATADIR="$(pkgdatadir)"|' $$file ;\ - perl -p -i -e 's|^LIBDIR =.*|PKGDATADIR="$(libdir)"|' $$file ;\ - done + file=$(DESTDIR)/$$i ;\ + perl -p -i -e 's|^__VERSION__ =.*|__VERSION__="$(RELEASE_VERSION)"|' $$file ;\ + perl -p -i -e 's|^SYSCONFDIR =.*|SYSCONFDIR="$(sysconfdir)"|' $$file ;\ + perl -p -i -e 's|^PYTHONDIR =.*|PYTHONDIR="$(pythondir)"|' $$file ;\ + perl -p -i -e 's|^PKGPYTHONDIR =.*|PKGPYTHONDIR="$(pkgpythondir)"|' $$file ;\ + perl -p -i -e 's|^PKGDATADIR =.*|PKGDATADIR="$(pkgdatadir)"|' $$file ;\ + perl -p -i -e 's|^LIBDIR =.*|LIBDIR="$(libdir)"|' $$file ;\ + done mv $(DESTDIR)/$(sbindir)/mock.py $(DESTDIR)/$(sbindir)/mock TOPDIR := $(shell cd $(top_builddir);pwd) -- cgit