summaryrefslogtreecommitdiff
path: root/gnulib-local
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-09-14 12:45:04 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:15:50 +0200
commit49d06a1ec3bf7dfc3a33c8c0fe375a3702e9593a (patch)
tree4af1000d0a3ed74f6c5153bf61844f8facbb90ff /gnulib-local
parentcdef1254b20de91424caeac241b7493f3d3fe311 (diff)
downloadgettext-49d06a1ec3bf7dfc3a33c8c0fe375a3702e9593a.tar.gz
Use $(mkdir_p) to create subdirectories of the build directory.
Diffstat (limited to 'gnulib-local')
-rw-r--r--gnulib-local/ChangeLog6
-rw-r--r--gnulib-local/modules/libglib12
-rw-r--r--gnulib-local/modules/libxml94
3 files changed, 59 insertions, 53 deletions
diff --git a/gnulib-local/ChangeLog b/gnulib-local/ChangeLog
index af83134e2..8ae582544 100644
--- a/gnulib-local/ChangeLog
+++ b/gnulib-local/ChangeLog
@@ -1,5 +1,11 @@
2008-09-14 Bruno Haible <bruno@clisp.org>
+ * modules/libxml: Use $(mkdir_p) to create the libxml directory.
+ * modules/libglib: Use $(mkdir_p) to create the glib directory.
+ Suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
+
+2008-09-14 Bruno Haible <bruno@clisp.org>
+
* modules/libglib (Depends-on): Add strerror.
2008-08-16 Bruno Haible <bruno@clisp.org>
diff --git a/gnulib-local/modules/libglib b/gnulib-local/modules/libglib
index e9c4132c2..263153618 100644
--- a/gnulib-local/modules/libglib
+++ b/gnulib-local/modules/libglib
@@ -59,42 +59,42 @@ glibconfig.h: glibconfig.in.h
mv -f $@-t $@
glib/ghash.h: glib/ghash.in.h
- test -d glib || mkdir glib
+ test -d glib || $(mkdir_p) glib
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/glib/ghash.in.h; \
} > $@-t
mv -f $@-t $@
glib/glist.h: glib/glist.in.h
- test -d glib || mkdir glib
+ test -d glib || $(mkdir_p) glib
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/glib/glist.in.h; \
} > $@-t
mv -f $@-t $@
glib/gprimes.h: glib/gprimes.in.h
- test -d glib || mkdir glib
+ test -d glib || $(mkdir_p) glib
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/glib/gprimes.in.h; \
} > $@-t
mv -f $@-t $@
glib/gstrfuncs.h: glib/gstrfuncs.in.h
- test -d glib || mkdir glib
+ test -d glib || $(mkdir_p) glib
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/glib/gstrfuncs.in.h; \
} > $@-t
mv -f $@-t $@
glib/gstring.h: glib/gstring.in.h
- test -d glib || mkdir glib
+ test -d glib || $(mkdir_p) glib
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/glib/gstring.in.h; \
} > $@-t
mv -f $@-t $@
glib/gtypes.h: glib/gtypes.in.h
- test -d glib || mkdir glib
+ test -d glib || $(mkdir_p) glib
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/glib/gtypes.in.h; \
} > $@-t
diff --git a/gnulib-local/modules/libxml b/gnulib-local/modules/libxml
index dcb665b3a..cb0dffd8f 100644
--- a/gnulib-local/modules/libxml
+++ b/gnulib-local/modules/libxml
@@ -164,329 +164,329 @@ libxml_rpl_la_CPPFLAGS = $(AM_CPPFLAGS) $(NO_CXX)
BUILT_SOURCES += $(LIBXML_H)
libxml/DOCBparser.h: libxml/DOCBparser.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/DOCBparser.in.h; \
} > $@-t
mv -f $@-t $@
libxml/HTMLparser.h: libxml/HTMLparser.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/HTMLparser.in.h; \
} > $@-t
mv -f $@-t $@
libxml/HTMLtree.h: libxml/HTMLtree.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/HTMLtree.in.h; \
} > $@-t
mv -f $@-t $@
libxml/SAX.h: libxml/SAX.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/SAX.in.h; \
} > $@-t
mv -f $@-t $@
libxml/SAX2.h: libxml/SAX2.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/SAX2.in.h; \
} > $@-t
mv -f $@-t $@
libxml/c14n.h: libxml/c14n.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/c14n.in.h; \
} > $@-t
mv -f $@-t $@
libxml/catalog.h: libxml/catalog.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/catalog.in.h; \
} > $@-t
mv -f $@-t $@
libxml/chvalid.h: libxml/chvalid.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/chvalid.in.h; \
} > $@-t
mv -f $@-t $@
libxml/debugXML.h: libxml/debugXML.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/debugXML.in.h; \
} > $@-t
mv -f $@-t $@
libxml/dict.h: libxml/dict.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/dict.in.h; \
} > $@-t
mv -f $@-t $@
libxml/encoding.h: libxml/encoding.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/encoding.in.h; \
} > $@-t
mv -f $@-t $@
libxml/entities.h: libxml/entities.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/entities.in.h; \
} > $@-t
mv -f $@-t $@
libxml/globals.h: libxml/globals.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/globals.in.h; \
} > $@-t
mv -f $@-t $@
libxml/hash.h: libxml/hash.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/hash.in.h; \
} > $@-t
mv -f $@-t $@
libxml/list.h: libxml/list.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/list.in.h; \
} > $@-t
mv -f $@-t $@
libxml/nanoftp.h: libxml/nanoftp.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/nanoftp.in.h; \
} > $@-t
mv -f $@-t $@
libxml/nanohttp.h: libxml/nanohttp.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/nanohttp.in.h; \
} > $@-t
mv -f $@-t $@
libxml/parser.h: libxml/parser.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/parser.in.h; \
} > $@-t
mv -f $@-t $@
libxml/parserInternals.h: libxml/parserInternals.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/parserInternals.in.h; \
} > $@-t
mv -f $@-t $@
libxml/pattern.h: libxml/pattern.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/pattern.in.h; \
} > $@-t
mv -f $@-t $@
libxml/relaxng.h: libxml/relaxng.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/relaxng.in.h; \
} > $@-t
mv -f $@-t $@
libxml/schemasInternals.h: libxml/schemasInternals.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/schemasInternals.in.h; \
} > $@-t
mv -f $@-t $@
libxml/schematron.h: libxml/schematron.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/schematron.in.h; \
} > $@-t
mv -f $@-t $@
libxml/threads.h: libxml/threads.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/threads.in.h; \
} > $@-t
mv -f $@-t $@
libxml/tree.h: libxml/tree.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/tree.in.h; \
} > $@-t
mv -f $@-t $@
libxml/uri.h: libxml/uri.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/uri.in.h; \
} > $@-t
mv -f $@-t $@
libxml/valid.h: libxml/valid.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/valid.in.h; \
} > $@-t
mv -f $@-t $@
libxml/xinclude.h: libxml/xinclude.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/xinclude.in.h; \
} > $@-t
mv -f $@-t $@
libxml/xlink.h: libxml/xlink.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/xlink.in.h; \
} > $@-t
mv -f $@-t $@
libxml/xmlIO.h: libxml/xmlIO.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/xmlIO.in.h; \
} > $@-t
mv -f $@-t $@
libxml/xmlautomata.h: libxml/xmlautomata.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/xmlautomata.in.h; \
} > $@-t
mv -f $@-t $@
libxml/xmlerror.h: libxml/xmlerror.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/xmlerror.in.h; \
} > $@-t
mv -f $@-t $@
libxml/xmlexports.h: libxml/xmlexports.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/xmlexports.in.h; \
} > $@-t
mv -f $@-t $@
libxml/xmlmemory.h: libxml/xmlmemory.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/xmlmemory.in.h; \
} > $@-t
mv -f $@-t $@
libxml/xmlmodule.h: libxml/xmlmodule.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/xmlmodule.in.h; \
} > $@-t
mv -f $@-t $@
libxml/xmlreader.h: libxml/xmlreader.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/xmlreader.in.h; \
} > $@-t
mv -f $@-t $@
libxml/xmlregexp.h: libxml/xmlregexp.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/xmlregexp.in.h; \
} > $@-t
mv -f $@-t $@
libxml/xmlsave.h: libxml/xmlsave.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/xmlsave.in.h; \
} > $@-t
mv -f $@-t $@
libxml/xmlschemas.h: libxml/xmlschemas.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/xmlschemas.in.h; \
} > $@-t
mv -f $@-t $@
libxml/xmlschemastypes.h: libxml/xmlschemastypes.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/xmlschemastypes.in.h; \
} > $@-t
mv -f $@-t $@
libxml/xmlstring.h: libxml/xmlstring.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/xmlstring.in.h; \
} > $@-t
mv -f $@-t $@
libxml/xmlunicode.h: libxml/xmlunicode.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/xmlunicode.in.h; \
} > $@-t
mv -f $@-t $@
libxml/xmlversion.h: libxml/xmlversion.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/xmlversion.in.h; \
} > $@-t
mv -f $@-t $@
libxml/xmlwriter.h: libxml/xmlwriter.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/xmlwriter.in.h; \
} > $@-t
mv -f $@-t $@
libxml/xpath.h: libxml/xpath.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/xpath.in.h; \
} > $@-t
mv -f $@-t $@
libxml/xpathInternals.h: libxml/xpathInternals.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/xpathInternals.in.h; \
} > $@-t
mv -f $@-t $@
libxml/xpointer.h: libxml/xpointer.in.h
- test -d libxml || mkdir libxml
+ test -d libxml || $(mkdir_p) libxml
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/libxml/xpointer.in.h; \
} > $@-t