Janitor: Correct make distcheck and dont distribute autogen.sh

This commit is contained in:
Paulo Cesar Pereira de Andrade 2009-01-27 20:06:28 -02:00
parent f911b95b94
commit e5baafc41e
3 changed files with 9 additions and 2 deletions

3
.gitignore vendored
View file

@ -9,3 +9,6 @@ install-sh
missing
xf86driproto.pc
*~
xf86driproto-*.tar.*
ChangeLog
tags

View file

@ -4,7 +4,7 @@ xf86dri_HEADERS = xf86dri.h xf86dristr.h
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = xf86driproto.pc
EXTRA_DIST = autogen.sh xf86driproto.pc.in
EXTRA_DIST = xf86driproto.pc.in
EXTRA_DIST += ChangeLog
MAINTAINERCLEANFILES = ChangeLog
@ -12,6 +12,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

View file

@ -2,7 +2,11 @@ AC_PREREQ([2.57])
AC_INIT([XF86DRIProto], [2.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
xf86driproto.pc])