# $Id$ FILES= sgmlfmt CLEANFILES= sgmlfmt MAN1= sgmlfmt.1 all: sgmlfmt sgmlfmt: sgmlfmt.pl .if exists(/usr/bin/perl5) sed -e 's|##PERL##|/usr/bin/perl|' -e 's|##PREFIX##|${PREFIX}|' < sgmlfmt.pl > sgmlfmt .else sed -e 's|##PERL##|${PREFIX}/bin/perl|' -e 's|##PREFIX##|${PREFIX}|' < sgmlfmt.pl > sgmlfmt .endif afterinstall: ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${FILES} \ ${BINDIR} .include