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 | ac787752bf67f8f1ea8167191e5fb9d7fbbe7c7f (patch) | |
tree | 67ef10198713a435d6156ea8be47b238e778966e | |
parent | 65c7097d549ada25d11738b15996b18c9e57a847 (diff) |
Janitor: Correct make distcheck and dont distribute autogen.sh
-rw-r--r-- | .gitignore | 14 | ||||
-rw-r--r-- | Makefile.am | 13 | ||||
-rw-r--r-- | configure.ac | 4 |
3 files changed, 30 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..12c40fc --- /dev/null +++ b/.gitignore @@ -0,0 +1,14 @@ +Makefile +Makefile.in +aclocal.m4 +dri2proto.pc +autom4te.cache +config.log +config.status +configure +install-sh +missing +*~ +dri2proto-*.tar.* +ChangeLog +tags diff --git a/Makefile.am b/Makefile.am index 64f26a5..1d72a35 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,4 +4,15 @@ dri2_HEADERS = dri2proto.h dri2tokens.h pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = dri2proto.pc -EXTRA_DIST = autogen.sh dri2proto.pc.in +EXTRA_DIST = dri2proto.pc.in + +EXTRA_DIST += ChangeLog + +MAINTAINERCLEANFILES = ChangeLog + +.PHONY: ChangeLog + +ChangeLog: + $(CHANGELOG_CMD) + +dist-hook: ChangeLog diff --git a/configure.ac b/configure.ac index e68ec63..2986a26 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,11 @@ AC_PREREQ([2.57]) AC_INIT([DRI2Proto], [1.99.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 dri2proto.pc]) |