aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2004-10-18 16:26:25 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2004-10-18 16:26:25 +0000
commit1c9c8d506f810f887f74f4fd7cd8d702ba5ccdb8 (patch)
tree2ba5f66aa4024f8cac9a886de3384b18d5b06d67
parent5578bd8c991bd987dbf63ea87d5588e50fb410c3 (diff)
downloadsrc-1c9c8d506f810f887f74f4fd7cd8d702ba5ccdb8.tar.gz
src-1c9c8d506f810f887f74f4fd7cd8d702ba5ccdb8.zip
Replaced afterinstall: with FILES.
Notes
Notes: svn path=/head/; revision=136665
-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 37aff41cb6d8..25aeb2edfb14 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 37aff41cb6d8..25aeb2edfb14 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