pkgsrc/cad/tnt-mmtl/patches/patch-ah
2010-02-27 03:21:06 +00:00

25 lines
807 B
Text

$NetBSD: patch-ah,v 1.2 2010/02/27 03:21:06 dmcmahill Exp $
--- doc/Makefile.in.orig 2004-09-10 22:15:34.000000000 +0000
+++ doc/Makefile.in 2010-02-27 03:17:35.000000000 +0000
@@ -143,5 +143,5 @@
#
#---------------------------------------------------------------
-docdir = $(prefix)/doc
+docdir = $(pkgdatadir)
doc_DATA = \
user-guide.pdf
@@ -331,9 +331,9 @@
install-data-local:
for f in $(doc_DATA); do \
- $(mkinstalldirs) $(docdir); \
- $(INSTALL_DATA) $$f $(docdir)/$$f; \
+ $(mkinstalldirs) $(DESTDIR)$(docdir); \
+ $(INSTALL_DATA) $$f $(DESTDIR)$(docdir)/$$f; \
d=`basename $$f .pdf`; \
- $(mkinstalldirs) $(docdir)/$$d; \
- $(INSTALL_DATA) $$d/* $(docdir)/$$d; \
+ $(mkinstalldirs) $(DESTDIR)$(docdir)/$$d; \
+ $(INSTALL_DATA) $$d/* $(DESTDIR)$(docdir)/$$d; \
done