groff -U -dc=y -Tps -p -t -mm intercal.mm >intercal.refs.tmp
sed <intercal.refs.tmp -e '/hn \([0-9]*\)\.$$/s//hn \1/' >tmp.refs;
mv tmp.refs intercal.refs.tmp
- groff -dc=y -Tps -p -t -mm intercal.mm >intercal.ps
- -rm intercal.refs.qrf
+ groff -U -dc=y -Tps -p -t -mm intercal.mm >intercal.ps
+ -rm -f intercal.refs.qrf
original.ps: intercal.mm
groff -U -dc=n -Tps -p -t -mm intercal.mm >intercal.refs.tmp
sed <intercal.refs.tmp -e '/hn \([0-9]*\)\.$$/s//hn \1/' >tmp.refs;
mv tmp.refs intercal.refs.tmp
- groff -dc=n -Tps -p -t -mm intercal.mm >original.ps
- -rm intercal.refs.qrf
+ groff -U -dc=n -Tps -p -t -mm intercal.mm >original.ps
+ -rm -f intercal.refs.qrf
intercal.txt: intercal.mm
groff -U -dc=y -Tascii -p -t -mm intercal.mm >/dev/null
sed <intercal.refs.tmp -e '/hn \([0-9]*\)\.$$/s//hn \1/' >tmp.refs;
mv tmp.refs intercal.refs.tmp
- GROFF_NO_SGR=1 groff -dc=y -Tascii -p -t -mm intercal.mm >intercal.txt
- -rm intercal.refs.qrf
+ GROFF_NO_SGR=1 groff -U -dc=y -Tascii -p -t -mm intercal.mm >intercal.txt
+ -rm -f intercal.refs.qrf
original.txt: intercal.mm
groff -U -dc=n -Tascii -p -t -mm intercal.mm >/dev/null
sed <intercal.refs.tmp -e '/hn \([0-9]*\)\.$$/s//hn \1/' >tmp.refs;
mv tmp.refs intercal.refs.tmp
- GROFF_NO_SGR=1 groff -dc=n -Tascii -p -t -mm intercal.mm >original.txt
- -rm intercal.refs.qrf
+ GROFF_NO_SGR=1 groff -U -dc=n -Tascii -p -t -mm intercal.mm >original.txt
+ -rm -f intercal.refs.qrf
# Don't delete *.txt here - not while we have asciidoc text masters, anyway
clean: