ack/man/proto.make

26 lines
445 B
Plaintext
Raw Normal View History

1991-11-04 11:47:15 +00:00
# $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: