summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-27 20:06:28 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-27 20:06:28 -0200
commit802e941e5fee14214687795f857b6dfd1e163af0 (patch)
treeaa189aa8073bfae3565eb39b8e32fac992bbf602
parent52fc0c528a2fcedc61070925213cb74f6ce45fb1 (diff)
downloadxorg-proto-renderproto-802e941e5fee14214687795f857b6dfd1e163af0.tar.gz
Janitor: Correct make distcheck and dont distribute autogen.sh
-rw-r--r--.gitignore3
-rw-r--r--Makefile.am4
-rw-r--r--configure.ac4
3 files changed, 9 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 40daa1d..bc4a016 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,6 @@ install-sh
missing
renderproto.pc
*~
+renderproto-*.tar.*
+ChangeLog
+tags
diff --git a/Makefile.am b/Makefile.am
index 59aaed3..dc2602b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -9,7 +9,7 @@ pkgconfig_DATA = renderproto.pc
renderdocdir = $(datadir)/doc/$(PACKAGE)
renderdoc_DATA = renderproto.txt
-EXTRA_DIST = autogen.sh renderproto.pc.in $(renderdoc_DATA)
+EXTRA_DIST = renderproto.pc.in $(renderdoc_DATA)
EXTRA_DIST += ChangeLog
MAINTAINERCLEANFILES = ChangeLog
@@ -17,6 +17,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 cfe6a0e..c03f421 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,11 @@ AC_PREREQ([2.57])
AC_INIT([RenderProto], [0.9.3], [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
renderproto.pc])