Changed manual page installation mechanism

This commit is contained in:
ceriel
1991-11-05 15:31:14 +00:00
parent b3f07ce236
commit 4e99d889ff
42 changed files with 122 additions and 109 deletions

View File

@@ -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
..

View File

@@ -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