List xproto.xml path explicitly instead of relying on GNU Make $< expansion
authorAlan Coopersmith <alan.coopersmith@sun.com>
Fri, 22 Sep 2006 18:53:21 +0000 (11:53 -0700)
committerJamey Sharp <jamey@minilop.net>
Fri, 22 Sep 2006 22:11:39 +0000 (15:11 -0700)
(Some non-gnu makes, such as Solaris make, only recognize $< in implicit
 suffix rules, not explicit ones like this.)

src/Makefile.am

index 43f7236..0715708 100644 (file)
@@ -221,7 +221,7 @@ SUFFIXES = .xml
                    -o $@ $(srcdir)/c-client.xsl $< 
 
 xproto.xml: $(XCBPROTO_XCBINCLUDEDIR)/xproto.xml
-       $(LN_S) $< $@
+       $(LN_S) $(XCBPROTO_XCBINCLUDEDIR)/xproto.xml $@
 
 $(EXTENSION_XML):
        [ -d extensions ] || mkdir extensions