[gtk+] Generate README and INSTALL from configure



commit 603b49814fb0a4d5e4d23606c365c2949442047e
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Nov 30 19:24:07 2014 -0500

    Generate README and INSTALL from configure

 Makefile.am  |   18 ++++++------------
 configure.ac |    2 ++
 2 files changed, 8 insertions(+), 12 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 37bc9ff..f1f12e6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -9,11 +9,13 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
 EXTRA_DIST +=                  \
        autogen.sh              \
        HACKING                 \
+       README                  \
+       INSTALL                 \
        NEWS.pre-1-0            \
-       README.commits  \
+       README.commits          \
        README.win32            \
        config.h.win32          \
-       makefile.msc    \
+       makefile.msc            \
        gtk-zip.sh.in           \
        sanitize-la.sh          \
        po/README.translators   \
@@ -88,19 +90,11 @@ ChangeLog:
          echo A git checkout and git-log is required to generate this file >> $@); \
        fi
 
+.PHONY: ChangeLog
+
 uninstall-local:
        rm -f $(DESTDIR)$(pkgconfigdir)/gtk+-3.0.pc
 
-dist-hook:
-       if test -f $(srcdir)/INSTALL.in && test -f $(srcdir)/README.in ; then \
-            CONFIG_FILES="INSTALL:$(srcdir)/INSTALL.in README:$(srcdir)/README.in" \
-            CONFIG_HEADERS= \
-            $(SHELL) config.status \
-            && cp INSTALL README $(distdir) ; \
-       fi
-
-.PHONY: ChangeLog
-
 DISTCHECK_CONFIGURE_FLAGS =            \
        --enable-gtk-doc                \
        --disable-doc-cross-references  \
diff --git a/configure.ac b/configure.ac
index 14a0c75..1ec49c8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1869,6 +1869,8 @@ fi
 AC_SUBST(GTK_LINK_FLAGS)
 
 AC_CONFIG_FILES([
+README
+INSTALL
 config.h.win32
 gtk-zip.sh
 Makefile


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]