From 286aa2c8eec90b59e3444150a4b928f100da8677 Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Sat, 27 Nov 2021 18:17:01 +0000
Subject: vamp-plugin-sdk, fix install paths


diff --git a/Makefile.in b/Makefile.in
index 96089c8..27ff538 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -71,12 +71,12 @@ RDFGEN_LIBS	= ./libvamp-hostsdk.a @LIBS@
 # have to use "make install".
 #
 INSTALL_PREFIX	 	  = @prefix@
-INSTALL_API_HEADERS	  = $(INSTALL_PREFIX)/include/vamp
-INSTALL_SDK_HEADERS	  = $(INSTALL_PREFIX)/include/vamp-sdk
-INSTALL_HOSTSDK_HEADERS	  = $(INSTALL_PREFIX)/include/vamp-hostsdk
-INSTALL_SDK_LIBS	  = $(INSTALL_PREFIX)/lib
-INSTALL_PLUGINS		  = $(INSTALL_PREFIX)/lib/vamp
-INSTALL_BINARIES	  = $(INSTALL_PREFIX)/bin 
+INSTALL_API_HEADERS	  = @includedir@/vamp
+INSTALL_SDK_HEADERS	  = @includedir@/vamp-sdk
+INSTALL_HOSTSDK_HEADERS	  = @includedir@/vamp-hostsdk
+INSTALL_SDK_LIBS	  = @libdir@
+INSTALL_PLUGINS		  = @libdir@/vamp
+INSTALL_BINARIES	  = @bindir@
 
 INSTALL_SDK_LIBNAME	  = libvamp-sdk.so.2.10.0
 INSTALL_SDK_LINK_ABI	  = libvamp-sdk.so.2
@@ -90,7 +90,7 @@ INSTALL_HOSTSDK_LINK_DEV  = libvamp-hostsdk.so
 INSTALL_HOSTSDK_STATIC    = libvamp-hostsdk.a
 INSTALL_HOSTSDK_LA        = libvamp-hostsdk.la
 
-INSTALL_PKGCONFIG	  = $(INSTALL_PREFIX)/lib/pkgconfig
+INSTALL_PKGCONFIG	  = @libdir@/pkgconfig
 
 # Flags required to tell the compiler to create a dynamically loadable object
 #
-- 
2.30.2

