avoid spurious failure of 'make syntax-check's sc_makefile_check

* pkgconfig/Makefile.am (lib%.pc): Add extra quotes to avoid
triggering check for use of obsolescent @VAR@ notation.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2194 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Jim Meyering 2009-05-18 16:41:55 +00:00
parent 1f40a10983
commit f5543e3bee

View File

@ -42,10 +42,10 @@ target_PACKAGE = corosync.pc
lib%.pc: libtemplate.pc.in Makefile
rm -f $@-t $@
sed \
-e 's#@PREFIX@#$(exec_prefix)#g' \
-e 's#@LIBDIR@#$(libdir)#g' \
-e 's#@LIBVERSION@#$(VERSION)#g' \
-e 's#@LIB@#'$(*:lib%=%)'#g' \
-e 's#@''PREFIX@#$(exec_prefix)#g' \
-e 's#@''LIBDIR@#$(libdir)#g' \
-e 's#@''LIBVERSION@#$(VERSION)#g' \
-e 's#@''LIB@#'$(*:lib%=%)'#g' \
$< > $@-t
chmod a-w $@-t
mv $@-t $@
@ -53,11 +53,11 @@ lib%.pc: libtemplate.pc.in Makefile
%: %.in Makefile
rm -f $@-t $@
sed \
-e 's#@PREFIX@#$(exec_prefix)#g' \
-e 's#@LIBDIR@#$(libdir)#g' \
-e 's#@LIBVERSION@#$(VERSION)#g' \
-e 's#@COROLCRSODIR@#$(LCRSODIR)#g' \
-e 's#@COROSOCKETDIR@#$(SOCKETDIR)#g' \
-e 's#@''PREFIX@#$(exec_prefix)#g' \
-e 's#@''LIBDIR@#$(libdir)#g' \
-e 's#@''LIBVERSION@#$(VERSION)#g' \
-e 's#@''COROLCRSODIR@#$(LCRSODIR)#g' \
-e 's#@''COROSOCKETDIR@#$(SOCKETDIR)#g' \
$< > $@-t
chmod a-w $@-t
mv $@-t $@