Add $(srcdir)/ to source directory references in Makefile fragments
authorBen Pfaff <blp@gnu.org>
Wed, 4 Apr 2007 00:14:26 +0000 (00:14 +0000)
committerBen Pfaff <blp@gnu.org>
Wed, 4 Apr 2007 00:14:26 +0000 (00:14 +0000)
that call gperf, to fix VPATH builds.

ChangeLog
modules/iconv_open

index d62e46e..20b7613 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-04-03  Ben Pfaff  <blp@gnu.org>
+
+       * modules/iconv_open: Add $(srcdir)/ to source directory
+       references in Makefile fragments that call gperf, to fix VPATH
+       builds.
+
 2007-04-03  Bruno Haible  <bruno@clisp.org>
 
        * modules/ldexpl (Depends-on): Add isnanl, remove isnanl-nolibm.
index 420f562..28e936d 100644 (file)
@@ -37,16 +37,16 @@ MOSTLYCLEANFILES += iconv.h iconv.h-t
 
 GPERF = gperf
 iconv_open-aix.h: iconv_open-aix.gperf
-       $(GPERF) -m 10 iconv_open-aix.gperf > $@-t
+       $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $@-t
        mv $@-t $@
 iconv_open-hpux.h: iconv_open-hpux.gperf
-       $(GPERF) -m 10 iconv_open-hpux.gperf > $@-t
+       $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $@-t
        mv $@-t $@
 iconv_open-irix.h: iconv_open-irix.gperf
-       $(GPERF) -m 10 iconv_open-irix.gperf > $@-t
+       $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $@-t
        mv $@-t $@
 iconv_open-osf.h: iconv_open-osf.gperf
-       $(GPERF) -m 10 iconv_open-osf.gperf > $@-t
+       $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $@-t
        mv $@-t $@
 BUILT_SOURCES        += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h
 MOSTLYCLEANFILES     += iconv_open-aix.h-t iconv_open-hpux.h-t iconv_open-irix.h-t iconv_open-osf.h-t