Bill Moseley <[EMAIL PROTECTED]> writes: > I'm sorry, I cut from the wrong makefile. I have this in a > Makefile.am, not the above:
> $(srcdir)/swish-e.1 : $(top_srcdir)/pod/swish-e.pod > -rm -f $@ > -pod2man --center="SWISH-E Documentation" --lax --release='$(VERSION)' $< > > $@ > And on Solaris 2.6 $< is not getting set. Ah! Now it makes sense. $< is only guaranteed to be set for pattern rules; many make implementations, including Solaris's, do not set it for regular rules. You need to just repeat the name of the POD file in the build rule, unfortunately. (Or use a pattern rule, but that can be harder to do for things like this.) -- Russ Allbery ([EMAIL PROTECTED]) <http://www.eyrie.org/~eagle/>
