mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-24 20:05:04 +00:00
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:
parent
1f40a10983
commit
f5543e3bee
@ -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 $@
|
||||
|
Loading…
Reference in New Issue
Block a user