patch-include_Makefile_in 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. $OpenBSD: patch-include_Makefile_in,v 1.2 2009/06/16 15:31:02 kurt Exp $
  2. --- include/Makefile.in.orig Thu Feb 5 20:02:25 2009
  3. +++ include/Makefile.in Wed Mar 4 10:38:20 2009
  4. @@ -486,20 +486,20 @@ clean-libtool:
  5. -rm -rf .libs _libs
  6. install-includeHEADERS: $(include_HEADERS)
  7. @$(NORMAL_INSTALL)
  8. - test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
  9. + test -z "$(pkgincludedir)" || $(MKDIR_P) "$(DESTDIR)$(pkgincludedir)"
  10. @list='$(include_HEADERS)'; for p in $$list; do \
  11. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  12. f=$(am__strip_dir) \
  13. - echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
  14. - $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
  15. + echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgincludedir)/$$f'"; \
  16. + $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgincludedir)/$$f"; \
  17. done
  18. uninstall-includeHEADERS:
  19. @$(NORMAL_UNINSTALL)
  20. @list='$(include_HEADERS)'; for p in $$list; do \
  21. f=$(am__strip_dir) \
  22. - echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
  23. - rm -f "$(DESTDIR)$(includedir)/$$f"; \
  24. + echo " rm -f '$(DESTDIR)$(pkgincludedir)/$$f'"; \
  25. + rm -f "$(DESTDIR)$(pkgincludedir)/$$f"; \
  26. done
  27. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  28. @@ -580,7 +580,7 @@ check: check-am
  29. @CREATE_JNI_HEADERS_FALSE@all-local:
  30. all-am: Makefile $(HEADERS) config.h all-local
  31. installdirs:
  32. - for dir in "$(DESTDIR)$(includedir)"; do \
  33. + for dir in "$(DESTDIR)$(pkgincludedir)"; do \
  34. test -z "$$dir" || $(MKDIR_P) "$$dir"; \
  35. done
  36. install: install-am