Makefile.in (install-plugin): Simplify a bit.

2009-05-07  Rafael Avila de Espindola  <espindola@google.com>

	* Makefile.in (install-plugin): Simplify a bit.

From-SVN: r147244
This commit is contained in:
Rafael Avila de Espindola 2009-05-07 15:49:19 +00:00 committed by Rafael Espindola
parent fac412383e
commit 3b3e44eb81
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2009-05-07 Rafael Avila de Espindola <espindola@google.com>
* Makefile.in (install-plugin): Simplify a bit.
2009-05-07 Paolo Bonzini <bonzini@gnu.org>
* Makefile.in (OBJS-common): Add regcprop.o.

View file

@ -4017,6 +4017,7 @@ install-plugin: installdirs
# other files are flattened to a single directory.
$(mkinstalldirs) $(DESTDIR)$(plugin_includedir)
headers=`echo $(PLUGIN_HEADERS) | tr ' ' '\n' | sort -u`; \
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`; \
for file in $$headers; do \
if [ -f $$file ] ; then \
path=$$file; \
@ -4025,8 +4026,7 @@ install-plugin: installdirs
else continue; \
fi; \
case $$path in \
"$(srcdir)"*/config/* | "$(srcdir)"/*.def ) \
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`; \
"$(srcdir)"/config/* | "$(srcdir)"/*.def ) \
base=`echo "$$path" | sed -e "s|$$srcdirstrip/||"`;; \
*) base=`basename $$path` ;; \
esac; \