Changed manual page installation mechanism
This commit is contained in:
7
man/head
7
man/head
@@ -1,11 +1,10 @@
|
||||
.de TH
|
||||
.rn TH yy
|
||||
.de TH
|
||||
.di zz
|
||||
.so /usr/lib/tmac/tmac.an
|
||||
.TH "\\$1" "\\$2" "\\$3" "\\$4"
|
||||
.yy "\\$1" "\\$2" "\\$3" "\\$4"
|
||||
.ds ]W 5th ACK distribution
|
||||
.ds ]D Amsterdam Compiler Kit
|
||||
.ds ]L "\\$3
|
||||
.di
|
||||
.rm yy
|
||||
.rm zz
|
||||
..
|
||||
|
||||
@@ -10,12 +10,9 @@ install:
|
||||
if [ $(DO_MACHINE_INDEP) = y ] ; \
|
||||
then if [ ! -d $(MANDIR) ] ; then mkdir $(MANDIR) ; fi ; \
|
||||
cd $(SRC_HOME)/man ; \
|
||||
cp head $(MANDIR)/head ; \
|
||||
for i in *.[1-8] ; do \
|
||||
num=`expr $$i : '.*\.\([1-8]\)'` ; \
|
||||
if [ ! -d $(MANDIR)/man$$num ] ; \
|
||||
then mkdir $(MANDIR)/man$$num ; \
|
||||
fi ; \
|
||||
cat head $$i > $(MANDIR)/man$$num/$$i ; \
|
||||
mk_manpage $$i $(TARGET_HOME) ; \
|
||||
done ; \
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user