CVS Update: font (branch: trunk)

Keith Packard keithp at keithp.com
Fri Jul 15 10:33:37 PDT 2005


On Fri, 2005-07-15 at 07:54 -0700, Alan Coopersmith wrote:
> 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.)
> 
> 

something like:

 (cd $(top_srcdir)/util && cp $(bdftruncate_SOURCES) $(top_builddir)/util)

might work?

-keith

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20050715/fbb2dd69/attachment.pgp>


More information about the xorg mailing list