add SRC definition (and use it, instead of hardcoding ../../..)
This commit is contained in:
parent
f03fce66ce
commit
89b73d6b18
|
@ -1,13 +1,15 @@
|
|||
#!/bin/sh
|
||||
# $NetBSD: mkman,v 1.3 2001/06/30 01:00:47 hubertf Exp $
|
||||
# $NetBSD: mkman,v 1.4 2002/05/23 00:03:38 hubertf Exp $
|
||||
|
||||
#
|
||||
# Find all manpage sources - run before tocrc
|
||||
#
|
||||
|
||||
SRC=../../..
|
||||
|
||||
echo Preparing data ...
|
||||
|
||||
find ../../.. -name '*.[1-9]' -print \
|
||||
find ${SRC} -name '*.[1-9]' -print \
|
||||
| xargs file \
|
||||
| grep troff \
|
||||
| sed 's/:[ ]*.*$//' \
|
||||
|
|
Loading…
Reference in New Issue