Ticket #13747: patch-Makefile.in

File patch-Makefile.in, 734 bytes (added by isak@…, 17 years ago)
Line 
1--- Makefile.in.org     2007-12-28 17:53:12.000000000 +0100
2+++ Makefile.in 2007-12-29 16:53:00.000000000 +0100
3@@ -675,8 +675,11 @@
4        @echo "------------------------------------------------------------"
5        @echo "Installing include files to $(includedir)"
6        @echo "------------------------------------------------------------"
7+       for dir in `cd $(srcdir)/include && find . -type d -print | grep -v \.svn`; \
8+         do mkdir -p "$(DESTDIR)$(includedir)/$$dir"; \
9+       done
10        for inc in `cd $(srcdir)/include && find . -type f -print | grep -v \.svn`; \
11-         do $(INSTALL_HEADER) -D "$(srcdir)/include/$$inc" "$(includedir)/$$inc"; \
12+         do $(INSTALL_HEADER) "$(srcdir)/include/$$inc" "$(DESTDIR)$(includedir)/$$inc"; \
13        done
14 
15 uninstall-local: