summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/man/whatis/Makefile
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1993-07-07 23:07:02 +0000
committerjkh <jkh@FreeBSD.org>1993-07-07 23:07:02 +0000
commit73606c73729da848d3173c01390dc2a78d2997e1 (patch)
treebe8b89723d6c423c5cae81f73a3ff71296581e51 /gnu/usr.bin/man/whatis/Makefile
downloadFreeBSD-src-73606c73729da848d3173c01390dc2a78d2997e1.zip
FreeBSD-src-73606c73729da848d3173c01390dc2a78d2997e1.tar.gz
Newer new man page reader.
Diffstat (limited to 'gnu/usr.bin/man/whatis/Makefile')
-rw-r--r--gnu/usr.bin/man/whatis/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/usr.bin/man/whatis/Makefile b/gnu/usr.bin/man/whatis/Makefile
new file mode 100644
index 0000000..1e9c1c1
--- /dev/null
+++ b/gnu/usr.bin/man/whatis/Makefile
@@ -0,0 +1,26 @@
+.include "../Makefile.inc"
+
+all: whatis whatis.1
+
+obj depend rcsfreeze all:
+ @echo -n
+
+cleandir: clean
+
+clean:
+ @rm -f whatis whatis.1
+
+whatis: whatis.sh
+ sed -e 's,%libdir%,${libdir},' -e 's,%bindir%,${bindir},' \
+ -e 's,%pager%,${pager},' \
+ whatis.sh > whatis
+
+whatis.1: whatis.man
+ 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},' \
+ whatis.man > whatis.1
+
+install: whatis whatis.1
+ install -c -o bin -g bin -m 555 whatis /usr/bin
+ install -c -o bin -g bin -m 444 whatis.1 /usr/share/man/man1
OpenPOWER on IntegriCloud