summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2016-12-15 10:10:44 +0100
committerThomas Schwinge <thomas@codesourcery.com>2016-12-17 00:24:01 +0100
commit1f89580a1e8f3ca21f5b6780fce0a1aebaaa2c7f (patch)
tree2730dc17d792ccc0e31d8951085151a3fc56a5e2 /Makefile
parenta0d02749dc20005d9d75c34f1c4392bdfdcca219 (diff)
* Makefile (gen-ChangeLog): Remove incomplete "distdir" support.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index a9ad3f64..97bd5c88 100644
--- a/Makefile
+++ b/Makefile
@@ -152,19 +152,18 @@ ChangeLog_files = \
trans/ChangeLog \
usermux/ChangeLog \
utils/ChangeLog
-distdir = .
.PHONY: gen-ChangeLog
gen-ChangeLog:
$(AM_V_GEN)if test -d $(top_srcdir)/.git; then \
(cd $(top_srcdir)/ && \
./gitlog-to-changelog --strip-tab \
$(gen_start_commit).. && \
- echo) >> $(distdir)/cl-t && \
+ echo) >> cl-t && \
for f in $(ChangeLog_files); do \
(cd $(top_srcdir)/ && \
- git show $(gen_start_commit):$$f) >> $(distdir)/cl-t && \
- rm -f $(distdir)/$$f && \
- mv $(distdir)/cl-t $(distdir)/$$f \
+ git show $(gen_start_commit):$$f) >> cl-t && \
+ rm -f $$f && \
+ mv cl-t $$f \
|| exit $$?; \
done; \
fi