Description: Fix makefiles to install at the correct location
Author: Maarten L. Hekkelman <maarten@hekkelman.com>
Last-Update: Mon, 28 Sep 2020 09:18:14 +0200

--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -33,12 +33,12 @@
 LIBS				= @LIBS@ \
 					  @BOOST_IOSTREAMS_LIB@ 
 
-prefix				= @prefix@
-exec_prefix			= @exec_prefix@
-libdir				= @libdir@
-includedir			= @includedir@
-datarootdir			= @datarootdir@
-datadir				= @datadir@
+prefix				= $(DESTDIR)@prefix@
+exec_prefix			= $(DESTDIR)@exec_prefix@
+libdir				= $(DESTDIR)@libdir@
+includedir			= $(DESTDIR)@includedir@
+datarootdir			= $(DESTDIR)@datarootdir@
+datadir				= $(DESTDIR)@datadir@
 pkgconfigdir		= $(libdir)/pkgconfig
 
 LIB_NAME			= @PACKAGE_NAME@
