> > In a Makefile.in I have:
> > 
> > %.1: ../pod/%.pod
> >         pod2man --center="SWISH-E Documentation" --lax --release='$(VERSION)' $< > 
> > $@

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.

So I'm just asking if $< is not portable (but it's ok to use $@)?  
Or am I using $< incorrectly?

I guess the solution is to use $(top_srcdir)/pod/swish-e.pod in place of $<.

Thanks,


-- 
Bill Moseley
[EMAIL PROTECTED]



Reply via email to