mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-06 07:58:44 +02:00
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).
This commit is contained in:
@@ -4,9 +4,7 @@ INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/gmodule \
|
||||
-DG_LOG_DOMAIN=g_log_domain_gmodule @GLIB_DEBUG_FLAGS@
|
||||
|
||||
EXTRA_DIST = \
|
||||
makefile.mingw \
|
||||
makefile.mingw.in \
|
||||
makefile.msc \
|
||||
makefile.msc.in \
|
||||
gmoduleconf.h.in \
|
||||
gmodule.def \
|
||||
@@ -16,9 +14,13 @@ EXTRA_DIST = \
|
||||
gmodule-win32.c \
|
||||
gmodule-beos.c \
|
||||
gmoduleconf.h.win32 \
|
||||
gmodule.rc \
|
||||
gmodule.rc.in
|
||||
|
||||
BUILT_EXTRA_DIST = \
|
||||
makefile.mingw \
|
||||
makefile.msc \
|
||||
gmodule.rc
|
||||
|
||||
BUILT_SOURCES = gmoduleconf.h
|
||||
gmoduleconf.h: gmoduleconf.h.in
|
||||
|
||||
@@ -82,3 +84,10 @@ install-libLTLIBRARIES: libgmodule-1.3.la
|
||||
|
||||
release:
|
||||
$(MAKE) dist distdir=$(PACKAGE)`date +"%y%m%d"`
|
||||
|
||||
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
|
||||
|
||||
|
Reference in New Issue
Block a user