OBJ=OBB
HOW=hiw
HTML=/home/staff/penni101/www/${OBJ}.html
META=/users/ftp/pub/PERL/${OBJ}-test/${HOW}.html
all: ${OBJ}.html ${OBJ}.1 ${OBJ}.txt ${HTML}
@rm -f pod2htm*.tmp
${OBJ}.pod: ${OBJ}.src mk_doc ../${OBJ} Makefile
perl -w mk_doc ${OBJ}.src ${OBJ}.pod
${OBJ}.html: ${OBJ}.pod Makefile
perl pod2html --infile=${OBJ}.pod --outfile=${OBJ}.html
${OBJ}.1: ${OBJ}.pod Makefile
pod2man ${OBJ}.pod ${OBJ}.1
${OBJ}.txt: ${OBJ}.1 Makefile
man ./${OBJ}.1 > ${OBJ}.txt
show: ${OBJ}.1
man ./$<
${HOW}.pod: ${HOW}.src mk_doc ../${OBJ} Makefile
perl -w mk_doc ${HOW}.src ${HOW}.pod
${HOW}.html: ${HOW}.pod Makefile
perl pod2html --infile=${HOW}.pod --outfile=${HOW}.html
${HTML}: ${OBJ}.html
cp $< $@
${META}: ${HOW}.html
cp $< $@
clean:
rm -f ${OBJ}.pod ${OBJ}.html ${OBJ}.1 ${OBJ}.txt