autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

replacing $<


From: moseley
Subject: replacing $<
Date: Mon, 20 Oct 2003 07:14:55 -0700
User-agent: Mutt/1.5.4i

Solaris 2.6, Autoconf 2.57.

I guess I need to replace my use of $< in a Makefile.

In a Makefile.in I have:

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

When I build on Solaris $< doesn't seem to get used:

pod2man --center="SWISH-E Documentation" --lax --release='2.4.0-pr4-2003-10-19' 
   > swish-e.1
*** Error code 2 (ignored)

Notice that the $< isn't being supplied.

I don't really understand the problem, but is my only solution to create 
a separate rule for each .pod -> .1 file?

I guess I'm looking for an example of how to correctly write the above.

Thanks,


-- 
Bill Moseley
address@hidden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]