No need to create include/libcharset.h more than once.
diff --git a/libcharset/ChangeLog b/libcharset/ChangeLog
index 8bd0be7..7835673 100644
--- a/libcharset/ChangeLog
+++ b/libcharset/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-21 Bruno Haible <haible@clisp.cons.org>
+
+ * Makefile.in (include/libcharset.h): New target.
+ (all): Depend on it.
+
2001-05-11 Bruno Haible <haible@clisp.cons.org>
* INTEGRATE (Makefile.in): Fix syntax error.
diff --git a/libcharset/Makefile.in b/libcharset/Makefile.in
index b923af3..e872c00 100644
--- a/libcharset/Makefile.in
+++ b/libcharset/Makefile.in
@@ -28,10 +28,12 @@
SHELL = /bin/sh
-all : force
+all : include/libcharset.h force
+ cd lib && $(MAKE) all
+
+include/libcharset.h :
if [ ! -d include ] ; then mkdir include ; fi
$(CP) $(srcdir)/include/libcharset.h.in include/libcharset.h
- cd lib && $(MAKE) all
# Installs the library and include files only. Typically called with only
# $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here.