fix for problem with installing headers on FreeBSD, where install doesn't understand -D. Thanks to Alex Ott.

This commit is contained in:
jez 2008-03-26 16:33:44 +00:00
parent ebbd739051
commit de21459681

View file

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