diff options
-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]) |