Commit | Line | Data |
---|---|---|
00ba3d1d JH |
1 | .include "../Makefile.inc" |
2 | ||
3 | all: apropos apropos.1 | |
4 | ||
5 | obj depend rcsfreeze all: | |
6 | @echo -n | |
7 | ||
8 | cleandir: clean | |
9 | ||
10 | clean: | |
11 | @rm -f apropos apropos.1 | |
12 | ||
13 | apropos: apropos.sh | |
14 | sed -e 's,%libdir%,${libdir},' -e 's,%bindir%,${bindir},' \ | |
15 | -e 's,%pager%,${pager},' \ | |
16 | apropos.sh > apropos | |
17 | ||
18 | apropos.1: apropos.man | |
19 | sed -e 's,%libdir%,${libdir},' -e 's,%bindir%,${bindir},' \ | |
20 | -e 's,%pager%,${pager},' -e 's,%troff%,${troff},' \ | |
21 | -e 's,%manpath_config_file%,${manpath_config_file},' \ | |
22 | apropos.man > apropos.1 | |
23 | ||
24 | install: apropos apropos.1 | |
25 | install -c -o bin -g bin -m 555 apropos /usr/bin | |
26 | install -c -o bin -g bin -m 444 apropos.1 /usr/share/man/man1 |