diff options
author | Choe Hwanjin <choe.hwanjin@gmail.com> | 2023-04-30 10:54:08 +0900 |
---|---|---|
committer | Choe Hwanjin <choe.hwanjin@gmail.com> | 2023-04-30 10:54:08 +0900 |
commit | 274dea72a09624fd8b47114921d800dc14ecab23 (patch) | |
tree | 8637ba942e4412bf68960754ce4514a32bb844e8 | |
parent | 81623f1f56bfcace5d703ec90824250646864043 (diff) | |
download | ibus-hangul-274dea72a09624fd8b47114921d800dc14ecab23.tar.gz |
Update the rule to generate the ChangeLog
In order to generate the ChangeLog during out-of-tree builds,
$(top_srcdir) is used.
-rw-r--r-- | Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index fcb70d3..ad4747b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -67,6 +67,6 @@ clean-rpm: clean-local: clean-rpm dist-hook: - if test -d .git ; then \ - git log --name-status --date=iso > $(distdir)/ChangeLog ; \ + if test -d $(top_srcdir)/.git ; then \ + git -C $(top_srcdir) log --name-status --date=iso > $(distdir)/ChangeLog ; \ fi |