##
all:
-clean:
install:
-parent=`echo $(man1dir)|sed -e 's@/[^/]*$$@@'`; \
if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi
dvi: as.dvi
-as.dvi: as-${CONFIG}.texinfo
- $(TEXI2DVI) as-${CONFIG}.texinfo
- mv as-${CONFIG}.dvi as.dvi
+as.dvi: as.texinfo asdoc-config.texi
+ $(TEXI2DVI) as.texinfo
# ROFF doc targets as.ms, as.mm, as.me
# (we don't use a variable because we don't trust all makes to handle
# a var in the target name right).
# roff output (-ms)
-as.ms: as-${CONFIG}.texinfo
+# THESE ARE PROBABLY BROKEN until texi2roff extended for Texinfo conditionals
+as.ms: as.texinfo asdoc-config.texi
sed -e '/\\input texinfo/d' \
-e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
-e 's/{.*,,/{/' \
- as-${CONFIG}.texinfo | \
+ as.texinfo | \
texi2roff -ms >as.ms
# roff output (-mm)
-as.mm: as-${CONFIG}.texinfo
+as.mm: as.texinfo asdoc-config.texi
sed -e '/\\input texinfo/d' \
-e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
-e 's/{.*,,/{/' \
-e '/@noindent/d' \
- as-${CONFIG}.texinfo | \
+ as.texinfo | \
texi2roff -mm | \
sed -e 's/---/\\(em/g' \
>as.mm
# roff output (-me)
-as.me: as-${CONFIG}.texinfo
+as.me: as.texinfo asdoc-config.texi
sed -e '/\\input texinfo/d' \
-e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
-e 's/{.*,,/{/' \
- as-${CONFIG}.texinfo | \
+ as.texinfo | \
texi2roff -me >as.me
+clean: clean-dvi clean-info
+
+clean-dvi:
+ rm -f as.?? as.???
+
clean-info:
- rm -f as-${CONFIG}.* as.dvi as.info*
+ rm -f as.info*
force: