summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libncurses/Makefile8
-rw-r--r--lib/ncurses/ncurses/Makefile8
2 files changed, 4 insertions, 12 deletions
diff --git a/lib/libncurses/Makefile b/lib/libncurses/Makefile
index 37aff41..25aeb2e 100644
--- a/lib/libncurses/Makefile
+++ b/lib/libncurses/Makefile
@@ -254,12 +254,8 @@ DOCSDIR= /usr/share/doc/ncurses
DOCS= ncurses-intro.html hackguide.html
.if !defined(NOHTML)
-afterinstall:
-.for file in ${DOCS}
- cd ${.CURDIR}/../../contrib/ncurses/doc/html ; \
- ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 ${file} \
- ${DESTDIR}${DOCSDIR}
-.endfor
+.PATH: ${NCURSES}/doc/html
+FILESGROUPS= DOCS
.endif
# Generated source
diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile
index 37aff41..25aeb2e 100644
--- a/lib/ncurses/ncurses/Makefile
+++ b/lib/ncurses/ncurses/Makefile
@@ -254,12 +254,8 @@ DOCSDIR= /usr/share/doc/ncurses
DOCS= ncurses-intro.html hackguide.html
.if !defined(NOHTML)
-afterinstall:
-.for file in ${DOCS}
- cd ${.CURDIR}/../../contrib/ncurses/doc/html ; \
- ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 ${file} \
- ${DESTDIR}${DOCSDIR}
-.endfor
+.PATH: ${NCURSES}/doc/html
+FILESGROUPS= DOCS
.endif
# Generated source
OpenPOWER on IntegriCloud