maint: indent ChangeLog entries with TAB, not 8 spaces
[gnulib.git] / modules / uniwidth / base
index 2b78dca..4d0cb08 100644 (file)
@@ -2,15 +2,26 @@ Description:
 Base layer for Unicode string width.
 
 Files:
-lib/uniwidth.h
+lib/uniwidth.in.h
 lib/localcharset.h
+m4/libunistring-base.m4
 
 Depends-on:
 unitypes
 
 configure.ac:
+gl_LIBUNISTRING_LIBHEADER([0.9], [uniwidth.h])
 
 Makefile.am:
+BUILT_SOURCES += $(LIBUNISTRING_UNIWIDTH_H)
+
+uniwidth.h: uniwidth.in.h
+       $(AM_V_GEN)rm -f $@-t $@ && \
+       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+         cat $(srcdir)/uniwidth.in.h; \
+       } > $@-t && \
+       mv -f $@-t $@
+MOSTLYCLEANFILES += uniwidth.h uniwidth.h-t
 
 Include:
 "uniwidth.h"