From de2145968195d80f6c9ecd62cd923466231dec60 Mon Sep 17 00:00:00 2001 From: jez <> Date: Wed, 26 Mar 2008 16:33:44 +0000 Subject: [PATCH] fix for problem with installing headers on FreeBSD, where install doesn't understand -D. Thanks to Alex Ott. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index d085ed55..f33fcdd0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,7 +8,7 @@ install-data-local: @echo "Installing include files to $(includedir)" @echo "------------------------------------------------------------" for inc in `cd $(srcdir)/include && find . -type f -print | grep -v \.svn`; \ - do $(INSTALL_HEADER) -D "$(srcdir)/include/$$inc" "$(includedir)/$$inc"; \ + do mkdir -p "`dirname \"$(includedir)/$$inc\"`"; $(INSTALL_HEADER) "$(srcdir)/include/$$inc" "$(includedir)/$$inc"; \ done uninstall-local: