CVS Update: font (branch: trunk)
Alan Coopersmith
Alan.Coopersmith at Sun.COM
Fri Jul 15 07:54:38 PDT 2005
Alexander Gottwald wrote:
> On Thu, 14 Jul 2005, Alan Coopersmith wrote:
>>Log message:
>> Replace $< with portable construct
>>
>>Index: font/util/Makefile.am
>>diff -u font/util/Makefile.am:1.1 font/util/Makefile.am:1.2
>>--- font/util/Makefile.am:1.1 Thu Jun 30 22:28:08 2005
>>+++ font/util/Makefile.am Fri Jul 15 01:15:35 2005
>>@@ -27,7 +27,7 @@
>>
>> bdftruncate$(EXEEXT): $(bdftruncate_SOURCES)
>> @rm -f $@
>>- cp $< $@
>>+ cp $(bdftruncate_SOURCES) $@
>>
>> mapfilesdir = $(libdir)/X11/fonts/util
>> mapfiles_DATA = \
>
>
> This will break if $(builddir) != $(srcdir)
So what do we need to do to make this work with both GNU make
and non GNU make? (Neither Solaris nor BSD make accept $<
outside of templates for processing files by suffix.)
--
-Alan Coopersmith- alan.coopersmith at sun.com
Sun Microsystems, Inc. - X Window System Engineering
More information about the xorg
mailing list