freebsd-ports/databases/freetds-devel/files/patch-doc_Makefile.in
2016-01-02 00:11:22 +00:00

20 lines
854 B
Text

--- doc/Makefile.in.orig 2015-10-18 19:22:12 UTC
+++ doc/Makefile.in
@@ -729,16 +729,7 @@ $(INSTALLDIRS) $(DOCDIR):
# If we built the documentation ourselves, install that,
# else if we have access to distributed documentation, install that.
-install-data-local: $(INSTALLDIRS) $(noinst_DATA)
- $(MKDIR_P) $(DOCDIR) 2>&1
- if test -r $(DOCDIR)/userguide ; then d=.; else d="$(srcdir)"; fi; \
- find $$d/$(DOCDIR)/userguide \( -type f -o -type l \) \
- -exec $(INSTALL) {} $(TARGET_DOCDIR)/userguide ';'
- if test -r $(DOCDIR)/reference ; then d=.; else d="$(srcdir)"; fi; \
- find $$d/$(DOCDIR)/reference \( -type f -o -type l \) \
- -exec $(INSTALL) {} $(TARGET_DOCDIR)/reference ';'
- cd $(srcdir) && find images -name \*.gif \
- -exec $(INSTALL) {} $(TARGET_DOCDIR)/{} ';'
+install-data-local:
uninstall-local:
rm -rf $(TARGET_DOCDIR)