mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2026-05-09 05:58:25 +02:00
Janitor: Correct make distcheck and dont distribute autogen.sh
This commit is contained in:
parent
1ff5e2cdfa
commit
1c7e20d115
3 changed files with 9 additions and 2 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -9,3 +9,6 @@ configure
|
|||
install-sh
|
||||
missing
|
||||
randrproto.pc
|
||||
randrproto-*.tar.*
|
||||
ChangeLog
|
||||
tags
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ pkgconfig_DATA = randrproto.pc
|
|||
randrdocdir = $(datadir)/doc/$(PACKAGE)
|
||||
randrdoc_DATA = randrproto.txt
|
||||
|
||||
EXTRA_DIST = autogen.sh randrproto.pc.in $(randrdoc_DATA)
|
||||
EXTRA_DIST = randrproto.pc.in $(randrdoc_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
|
||||
|
|
|
|||
|
|
@ -25,7 +25,11 @@ AC_PREREQ([2.57])
|
|||
AC_INIT([RandrProto], [1.2.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
|
||||
randrproto.pc])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue