Просмотр исходного кода

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
Jim Meyering 16 лет назад
Родитель
Сommit
f5543e3bee
1 измененных файлов с 9 добавлено и 9 удалено
  1. 9 9
      pkgconfig/Makefile.am

+ 9 - 9
pkgconfig/Makefile.am

@@ -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 $@