You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
687 B

diff --git a/cpp/build/Makefile b/cpp/build/Makefile
index 666472d..41dc58c 100644
--- a/cpp/build/Makefile
+++ b/cpp/build/Makefile
@@ -139,8 +139,8 @@ $(top_builddir)/libopenzwave.pc: $(top_srcdir)/cpp/build/libopenzwave.pc.in $(PK
@$(SED) \
-e 's|[@]prefix@|$(PREFIX)|g' \
-e 's|[@]exec_prefix@|$(PREFIX)/bin|g' \
- -e 's|[@]libdir@|$(instlibdir)|g' \
- -e 's|[@]includedir@|$(PREFIX)/include/openzwave/|g' \
+ -e 's|[@]libdir@|$${prefix}/lib|g' \
+ -e 's|[@]includedir@|$${prefix}/include/openzwave/|g' \
-e 's|[@]sysconfdir@|/etc/openzwave/|g' \
-e 's|[@]gitversion@|$(GITVERSION)|g' \
-e 's|[@]docdir@|$(docdir)/|g' \