Discussion:
[libdvdcss-devel] build: Remove ChangeLog only on maintainer-clean, not distclean
Diego Biurrun
2014-07-31 21:29:26 UTC
Permalink
libdvdcss | branch: master | Diego Biurrun <***@biurrun.de> | Thu Jul 31 23:22:19 2014 +0200| [db4b437c7b2bd8e6efc13418b44b0feca20878db] | 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/libdvdcss.git/?a=commit;h=db4b437c7b2bd8e6efc13418b44b0feca20878db
---

Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 5fd4853..15002e9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,7 +4,7 @@ EXTRA_DIST = msvc libdvdcss.spec doc/header.html doc/footer.html INSTALL

dist_doc_DATA = AUTHORS COPYING NEWS README ChangeLog

-DISTCLEANFILES = ChangeLog
+MAINTAINERCLEANFILES = ChangeLog

ChangeLog: $(wildcard $(srcdir)/.git/logs/HEAD)
-cd $(srcdir) && git log > $(abs_builddir)/$(@)-tmp

Loading...