Revision: aead20bc1814
Author:   nogu.dev <[email protected]>
Date:     Sat Feb 25 19:52:03 2012
Log:      * Makefile.am
  - Replace `svn export' with `wget'.
  - Replace `svn log' with `git log'.

http://code.google.com/p/uim/source/detail?r=aead20bc1814&repo=libgcroots

Modified:
 /Makefile.am

=======================================
--- /Makefile.am        Wed Jul 18 00:53:03 2007
+++ /Makefile.am        Sat Feb 25 19:52:03 2012
@@ -22,11 +22,9 @@
 # $(distdir) does work as a part of $(RELEASE_URL) when configured as a
 # subpackage.
 DIST_NAME = $(PACKAGE)-$(VERSION)
-UIM_REPOSITORY = http://uim.googlecode.com/svn
-LIBGCROOTS_REPOSITORY = $(UIM_REPOSITORY)/libgcroots-trunk
-TAGS_REPOSITORY = $(UIM_REPOSITORY)/tags
-#RELEASE_URL     = $(LIBGCROOTS_REPOSITORY)
-RELEASE_URL     = $(TAGS_REPOSITORY)/$(DIST_NAME)
+UIM_REPOSITORY = http://uim.googlecode.com/git/
+#RELEASE_BRANCH     = master
+RELEASE_BRANCH     = $(DIST_NAME)
 DIST_SUM_LIST = $(DIST_NAME).sum

 ## FIXME: `make distcheck' in this directory will not currently work.
@@ -243,8 +241,11 @@
 FORCE:

 ChangeLog: FORCE
-       svn export $(UIM_REPOSITORY)/trunk/tools/gnuify-changelog.pl
-       svn log $(RELEASE_URL) | ./gnuify-changelog.pl > $@
+       # We use `wget' instead of `git archive' here.
+       # `git archive' doesn't work with Google Code Git repository.
+       wget $(UIM_REPOSITORY)/tools/gnuify-changelog.pl
+       git log --date-order --date=short $(RELEASE_BRANCH) \
+           | perl ./gnuify-changelog.pl > $@
        @test -s $@ && echo 'ChangeLog updated successfully.'

 sum: FORCE

Reply via email to