[PATCH 3/5] xserver: Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432

Gaetan Nadon gaetan.nadon at videotron.ca
Tue Nov 10 09:05:42 PST 2009


This is a follow-up to bug
https://bugs.freedesktop.org/show_bug.cgi?id=24278.

It's important that the generated ChangeLog file has no easy way of being
removed as it cannot be regenerated from within a tarball as git is not
available. Just like files README or NEWS.

For example, 
EXTRA_DIST += ChangeLog
or
CLEANFILES = ChangeLog
or
MAINTAINERCLEANFILES = ChangeLog

There are over 200 components in that situation.

ChangeLog filename is known to Automake and requires no further
coding in the makefile.
---
 Makefile.am |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 3aa1fb4..8d1eeef 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -49,7 +49,7 @@ pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = xorg-server.pc
 endif
 
-EXTRA_DIST = xorg-server.pc.in xorg-server.m4 ChangeLog
+EXTRA_DIST = xorg-server.pc.in xorg-server.m4
 
 DISTCHECK_CONFIGURE_FLAGS=\
 	--with-xkb-path=$(XKB_BASE_DIRECTORY) \
@@ -57,7 +57,6 @@ DISTCHECK_CONFIGURE_FLAGS=\
 	--with-xkb-output='$${datadir}/X11/xkb/compiled'
 
 DISTCLEANFILES = doltcompile doltlibtool
-MAINTAINERCLEANFILES=ChangeLog
 
 .PHONY: ChangeLog
 
-- 
1.6.0.4

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.x.org/archives/xorg-devel/attachments/20091110/c63248d8/attachment-0001.htm 


More information about the xorg-devel mailing list