[libdvdnav-devel] build: Remove ChangeLog only on maintainer-clean, not distclean
Diego Biurrun
git at videolan.org
Thu Jul 31 23:40:49 CEST 2014
libdvdread | branch: master | Diego Biurrun <diego at biurrun.de> | Thu Jul 31 23:39:12 2014 +0200| [64dfc537f4c2a5f46d1673299c92d95e7f49257b] | committer: Diego Biurrun
build: Remove ChangeLog only on maintainer-clean, not distclean
The file is automatically generated with Git, so in a distribution
tarball without Git metadata it cannot be regenerated once deleted.
> http://git.videolan.org/gitweb.cgi/libdvdread.git/?a=commit;h=64dfc537f4c2a5f46d1673299c92d95e7f49257b
---
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 2d055bf..e51764c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,7 +4,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/src $(CSS_CFLAGS)
dist_doc_DATA = AUTHORS ChangeLog COPYING NEWS README TODO
-DISTCLEANFILES = ChangeLog
+MAINTAINERCLEANFILES = ChangeLog
ChangeLog: $(wildcard $(srcdir)/.git/logs/HEAD)
-cd $(srcdir) && git log > $(abs_builddir)/$(@)-tmp
More information about the libdvdnav-devel
mailing list