Bruce Momjian wrote:
> > ! draft:
> > ! ifndef DRAFT
> > ! ifneq ($(MAKECMDGOALS), draft)
How could this condition ever match?
> > ! # Call ourselves with the DRAFT value set. This seems to be the only
> > ! # way to set gmake variables in a rule.
> > ! @$(MAKE) DRAFT="Y" $(MAKECMDGOALS))
> > else
> > ! # run default 'all' rule
> > ! @$(MAKE) DRAFT="Y" html
> > ! endif
> > endif
--
Peter Eisentraut
http://developer.postgresql.org/~petere/