Replaced Makefile by proto.make

This commit is contained in:
ceriel 1991-11-04 11:47:15 +00:00
parent 7cff0f9d8a
commit 4affc39a20
2 changed files with 26 additions and 1 deletions

View file

@ -17,4 +17,4 @@ libpc.7
head
pc_prlib.7
uni_ass.6
Makefile
proto.make

25
man/proto.make Normal file
View file

@ -0,0 +1,25 @@
# $Header$
#PARAMS do not remove this line!
MANDIR = $(TARGET_HOME)/man
all:
install:
if [ $(DO_MACHINE_INDEP) = y ] ; \
then if [ ! -d $(MANDIR) ] ; then mkdir $(MANDIR) ; fi ; \
cd $(SRC_HOME)/man ; \
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 ; \
done ; \
fi
cmp:
opr:
pr:
clean: