From 13b47e2346ad61ebc377f1e25ea71e4e5bf1115a Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sun, 13 Jan 2013 00:23:53 +0100 Subject: [PATCH] build: more changelog drama We need ChangeLog to be listed in `dist_doc_DATA` or `doc_DATA`. Therefore, we list it in the former and if we happen to install from git, we just ship an empty ChangeLog. --- Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 335be5b7..11a68e5e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,7 +6,7 @@ SUBDIRS = src/compat src src/daemon src/lib src/client tests EXTRA_DIST = $(DX_CONFIG) include DIST_SUBDIRS = $(SUBDIRS) libevent -dist_doc_DATA = README.md NEWS +dist_doc_DATA = README.md NEWS ChangeLog # Build changelog from git history dist-hook: $(distdir)/ChangeLog @@ -26,5 +26,7 @@ $(distdir)/ChangeLog: __force-changelog-generation else \ touch $@ ; \ fi +ChangeLog: + touch $@ MOSTLYCLEANFILES = $(DX_CLEANFILES) -- 2.39.5