summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-03-02 23:18:32 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-03-02 23:18:32 +0000
commitcd9e68bea720226c840cdf0babfd3f465f027aed (patch)
tree9bc00a07798587e4a47ac6f7424ecfd865888b40 /Makefile.am
parent329c7a4b5be9a071fee983e2e78484c9a39ef0f8 (diff)
downloadpango-cd9e68bea720226c840cdf0babfd3f465f027aed.tar.gz
Default to --disable-static.
Fri Mar 1 00:46:49 2002 Owen Taylor <otaylor@redhat.com> * configure: Default to --disable-static. * configure.in pangoft2.pc.in pangoxft2.pc.in pangox.pc.in: Add a --enable-explicit-deps option to control whether dependency libraries are written into .la files and .pc files. Default is auto: if static libraries are off and shlib dependencies are found, don't write deps. * pango/Makefile.am sanitize-la.sh: Shell script used to strip dependencies out of .la files. * configure.in: Default to --disable-gtk-doc. * Makefile.am: Add a slightly modified distcheck rule that passes --enable-gtk-doc to the configure inside. (So that 'make dist' succeeds inside.)
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am23
1 files changed, 23 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 1a8e815b..ee8d3c67 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -40,3 +40,26 @@ pkgconfig_DATA = pango.pc $(X_PC) $(XFT_PC) $(FT2_PC) $(WIN32_PC)
dist-hook: pango.spec
cp pango.spec $(distdir)
+# This is a version of the automake-1.4 distcheck rule modified
+# to pass --enable-gtk-doc to ./configure
+#
+mydistcheck: dist
+ -rm -rf $(distdir)
+ GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
+ mkdir $(distdir)/=build
+ mkdir $(distdir)/=inst
+ dc_install_base=`cd $(distdir)/=inst && pwd`; \
+ cd $(distdir)/=build \
+ && ../configure --srcdir=.. --prefix=$$dc_install_base --enable-gtk-doc \
+ && $(MAKE) $(AM_MAKEFLAGS) \
+ && $(MAKE) $(AM_MAKEFLAGS) dvi \
+ && $(MAKE) $(AM_MAKEFLAGS) check \
+ && $(MAKE) $(AM_MAKEFLAGS) install \
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+ && $(MAKE) $(AM_MAKEFLAGS) dist
+ -rm -rf $(distdir)
+ @banner="$(distdir).tar.gz is ready for distribution"; \
+ dashes=`echo "$$banner" | sed s/./=/g`; \
+ echo "$$dashes"; \
+ echo "$$banner"; \
+ echo "$$dashes"