summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRaja R Harinath <harinath@src.gnome.org>2000-10-16 01:02:19 +0000
committerRaja R Harinath <harinath@src.gnome.org>2000-10-16 01:02:19 +0000
commita626a650e533eba3ee76f4c8375cf41bc964f6cf (patch)
tree067e983978a01d330e221c0bc352a8a43fbf2a83 /tests
parenteb27cad0f0495e9e74f06650eb40448f196e2b7b (diff)
downloadglib-a626a650e533eba3ee76f4c8375cf41bc964f6cf.tar.gz
gmodule: New variable. (dist-hook): Handle $(BUILT_EXTRA_DIST).
gmodule: * Makefile.am (BUILT_EXTRA_DIST): New variable. (dist-hook): Handle $(BUILT_EXTRA_DIST). gobject: * Makefile.am (BUILT_EXTRA_DIST): New variable. (dist-hook): Handle $(BUILT_EXTRA_DIST). (*): Remove traces of @STRIP_{BEGIN,END}@. gthread: * Makefile.am (BUILT_EXTRA_DIST): New variable. (dist-hook): Handle $(BUILT_EXTRA_DIST). docs/reference: 'make distcheck' fixes. * glib/Makefile.am (EXTRA_DIST): Add $(DOC_MODULE)-decl.txt. (html): Run 'gtkdoc-fixxref' in $(srcdir). (dist-check-gtkdoc): Add missing quote. (dist-hook): Copy in dependency order, so that none of the makerules are fired in a tarball build. * gobject/Makefile.am: Likewise. toplevel: Remove need for acconfig.h, and misc. cleanups. * acglib.m4 (GLIB_SIZEOF): Add 'autoheader' comment to AC_DEFINE_UNQUOTED. (GLIB_BYTE_CONTENTS): Likewise. * configure.in: Add 'autoheader' comments to all AC_DEFINE(...) and AC_DEFINE_UNQUOTED(...) lines. Replace AC_MSG_CHECKING/AC_CACHE_VAL with AC_CACHE_CHECK. (AM_PROG_LIBTOOL): Move after AC_PROG_CC. * acconfig.h: Empty out. * Makefile.am (BUILT_EXTRA_DIST): New variable. List 'dist'able files that are created in the builddir. (dist-hook): Handle those files. (libglib_1_3_la_SOURCES): Remove @ALLOCA@. @ALLOCA@ should only be used in an _LDADD or _LIBADD, since it expands (if necessary) to 'alloca.o'. * tests/Makefile.am (BUILT_EXTRA_DIST): New variable. (dist-hook): Handle $(BUILT_EXTRA_DIST).
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am12
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index f2846e91b..cee05aeeb 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -4,11 +4,13 @@ INCLUDES = -I$(top_srcdir) @GLIB_DEBUG_FLAGS@
EFENCE=
EXTRA_DIST = \
- makefile.msc \
makefile.msc.in \
- makefile.mingw \
makefile.mingw.in
+BUILT_EXTRA_DIST = \
+ makefile.msc \
+ makefile.mingw
+
TESTS = \
array-test \
date-test \
@@ -61,3 +63,9 @@ makefile.msc: $(top_builddir)/config.status $(top_srcdir)/tests/makefile.msc.in
makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/tests/makefile.mingw.in
cd $(top_builddir) && CONFIG_FILES=tests/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+dist-hook: $(BUILT_EXTRA_DIST)
+ files='$(BUILT_EXTRA_DIST)'; \
+ for f in $$files; do \
+ if test -f $$f; then d=.; else d=$(srcdir); fi; \
+ cp $$d/$$f $(distdir) || exit 1; done
+