Skip to content

Commit

Permalink
make dist 할때 자동으로 ChangeLog를 갱신하는 룰 추가
Browse files Browse the repository at this point in the history
소스 레포지토리를 git으로 바꿨기 때문에 ChangeLog를 생성하는
룰을 git 명령으로 바꿨다. 그리고 릴리스 할때 ChangeLog 갱신 작업을
빠트리지 않도록 하기 위해서 make dist할때 자동으로 생성되게
dist-hook에 룰을 추가했다.
  • Loading branch information
choehwanjin committed Nov 3, 2011
1 parent 02ab33f commit d9ba165
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Makefile.am
Expand Up @@ -15,10 +15,9 @@ EXTRA_DIST = \
test/hanja.c \
test/test.c

log:
unset LC_ALL; \
export LANG=C ; \
export LC_CTYPE=ko_KR.UTF-8; \
svn log -v > ChangeLog

ACLOCAL_AMFLAGS = -I m4

dist-hook:
if test -d .git; then \
git log --name-status --date=iso > $(distdir)/ChangeLog ; \
fi

0 comments on commit d9ba165

Please sign in to comment.