[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
iconv_open module need $(srcdir) in Makefile fragment
From: |
Ben Pfaff |
Subject: |
iconv_open module need $(srcdir) in Makefile fragment |
Date: |
Tue, 03 Apr 2007 16:52:32 -0700 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Building a program that imports iconv_open with builddir !=
srcdir fails due to lack of $(srcdir) in the Makefile fragment.
OK to commit the following?
--- gnulib/modules/iconv_open.~1.1.~ 2007-03-31 14:00:19.000000000 -0700
+++ gnulib/modules/iconv_open 2007-04-03 16:49:40.000000000 -0700
@@ -36,17 +36,17 @@ iconv.h: iconv_.h
MOSTLYCLEANFILES += iconv.h iconv.h-t
GPERF = gperf
-iconv_open-aix.h: iconv_open-aix.gperf
- $(GPERF) -m 10 iconv_open-aix.gperf > address@hidden
+iconv_open-aix.h: $(srcdir)/iconv_open-aix.gperf
+ $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > address@hidden
mv address@hidden $@
-iconv_open-hpux.h: iconv_open-hpux.gperf
- $(GPERF) -m 10 iconv_open-hpux.gperf > address@hidden
+iconv_open-hpux.h: $(srcdir)/iconv_open-hpux.gperf
+ $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > address@hidden
mv address@hidden $@
-iconv_open-irix.h: iconv_open-irix.gperf
- $(GPERF) -m 10 iconv_open-irix.gperf > address@hidden
+iconv_open-irix.h: $(srcdir)/iconv_open-irix.gperf
+ $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > address@hidden
mv address@hidden $@
-iconv_open-osf.h: iconv_open-osf.gperf
- $(GPERF) -m 10 iconv_open-osf.gperf > address@hidden
+iconv_open-osf.h: $(srcdir)/iconv_open-osf.gperf
+ $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > address@hidden
mv address@hidden $@
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
--
Ben Pfaff
address@hidden
- iconv_open module need $(srcdir) in Makefile fragment,
Ben Pfaff <=