diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-27 20:06:28 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-27 20:06:28 -0200 |
commit | 8b5b82ec72dd6952d0664655715a0a47951454f4 (patch) | |
tree | 6249349871e3d73d11a69a4d08c957da179c7977 | |
parent | fa652c6013a5d3ae8106814d97245fdbac3557ac (diff) |
Janitor: Correct make distcheck and dont distribute autogen.sh
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | Makefile.am | 4 | ||||
-rw-r--r-- | configure.ac | 4 |
3 files changed, 9 insertions, 2 deletions
@@ -9,3 +9,6 @@ install-sh missing xextproto.pc *~ +xextproto-*.tar.* +ChangeLog +tags diff --git a/Makefile.am b/Makefile.am index 637192a..9bd782a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -42,7 +42,7 @@ xext_HEADERS = \ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = xextproto.pc -EXTRA_DIST = autogen.sh xextproto.pc.in geproto.txt +EXTRA_DIST = xextproto.pc.in geproto.txt EXTRA_DIST += ChangeLog MAINTAINERCLEANFILES = ChangeLog @@ -50,6 +50,6 @@ MAINTAINERCLEANFILES = ChangeLog .PHONY: ChangeLog ChangeLog: - (GIT_DIR=$(top_srcdir)/.git git-log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2) + $(CHANGELOG_CMD) dist-hook: ChangeLog diff --git a/configure.ac b/configure.ac index 72205e4..43e23bc 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,11 @@ AC_PREREQ([2.57]) AC_INIT([XExtProto], [7.0.4], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg]) AM_INIT_AUTOMAKE([foreign dist-bzip2]) +# Require xorg-macros: XORG_CHANGELOG +m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.2 or later before running autoconf/autogen])]) +XORG_MACROS_VERSION(1.2) XORG_RELEASE_VERSION +XORG_CHANGELOG AC_OUTPUT([Makefile xextproto.pc]) |