diff options
Diffstat (limited to 'gnu/usr.bin/man')
| -rw-r--r-- | gnu/usr.bin/man/Makefile.shprog | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/gnu/usr.bin/man/Makefile.shprog b/gnu/usr.bin/man/Makefile.shprog deleted file mode 100644 index 665a194917ff..000000000000 --- a/gnu/usr.bin/man/Makefile.shprog +++ /dev/null @@ -1,30 +0,0 @@ -# $Id$ - -# This may become bsd.shprog.mk. The general version would have to handle: -# - arbitrary sed substitutions. -# - programs without man pages. -# - programs with man pages in sections other than section 1. - -MAN1= ${SHPROG:S/$/.1/g} - -CLEANFILES+= ${SHPROG} ${MAN1} - -all: ${SHPROG} - -.sh: - sed -e 's,%libdir%,${libdir},' -e 's,%bindir%,${bindir},' \ - -e 's,%pager%,${pager},' \ - ${.ALLSRC} > ${.TARGET} - -.SUFFIXES: .man .1 -.man.1: - sed -e 's,%libdir%,${libdir},' -e 's,%bindir%,${bindir},' \ - -e 's,%pager%,${pager},' -e 's,%troff%,${troff},' \ - -e 's,%manpath_config_file%,${manpath_config_file},' \ - ${.ALLSRC} > ${.TARGET} - -beforeinstall: - ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ - ${SHPROG} ${DESTDIR}${BINDIR} - -.include <bsd.prog.mk> |
