# so why does make still consider xx.y : RCS/xx.y,v ?
# there is no suffix ,v anymore!
-.SUFFIXES: .cc .o .hh .y .l .pod .text .1 .dep .html
+.SUFFIXES: .cc .o .hh .y .l .dep
# compile rules:
$(DO_CXX_COMPILE)
$(outdir)/%.cc: %.y
-# $(BISON) -d $<
$(BISON) $<
-# mv $(shell basename $@ .cc ).tab.h $(include-lib)/$(shell basename $@ .cc).hh
-# mv $(shell basename $@ .cc ).tab.h $(outdir)/$(shell basename $@ .cc).hh
mv $(shell basename $@ .cc ).tab.c $@
$(outdir)/%.hh: %.y
# could be faster:
# $(FLEX) -8 -Cf -t $< > $@
-$(outdir)/%.text: $(outdir)/%.1
- groff -man -Tascii $< > $@
-
-$(depth)/%.text: $(outdir)/%.text
- cp $< $@
-
-$(outdir)/%.html: %.pod
- $(pod2html) $<
- mv $(notdir $@) $(outdir)/
-
-$(outdir)/%.5: %.pod
- $(pod2groff)
-$(outdir)/%.1: %.pod
- $(pod2groff)
-
-
-
-#
-
# outdirs:
#
# ?$(outdir)/%.dep:
$(depth)/%.text: check-doc-deps
rm -f $@
ln `find ${depth}/Documentation -name $@|head -1` .
-