[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: replacing $<
From: |
Bill Moseley |
Subject: |
Re: replacing $< |
Date: |
Tue, 21 Oct 2003 13:31:26 -0700 |
User-agent: |
Mutt/1.5.4i |
> > 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
address@hidden