Navigation Menu

Skip to content

Commit

Permalink
add update-latest-release target.
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Nov 24, 2010
1 parent fe202cf commit 089db31
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Makefile.am
Expand Up @@ -23,3 +23,27 @@ EXTRA_DIST = plug.in

installcheck-local: install
test/run-sql-test.sh

update-latest-release:
@if test -z "$(OLD_RELEASE)"; then \
echo "\$$(OLD_RELEASE) is missing"; \
exit 1; \
fi
@if test -z "$(OLD_RELEASE_DATE)"; then \
echo "\$$(OLD_RELEASE_DATE) is missing"; \
exit 1; \
fi
@if test -z "$(NEW_RELEASE_DATE)"; then \
echo "\$$(NEW_RELEASE_DATE) is missing"; \
exit 1; \
fi
cd $(top_srcdir) && test -d "misc" || \
svn export --force \
https://cutter.svn.sourceforge.net/svnroot/cutter/cutter/trunk/misc
cd $(top_srcdir) && \
misc/update-latest-release.rb \
$(PACKAGE) $(OLD_RELEASE) $(OLD_RELEASE_DATE) \
$(VERSION) $(NEW_RELEASE_DATE) \
rpm/fedora/mysql-groonga.spec.in \
rpm/centos/mysql-groonga.spec.in \
debian/changelog

0 comments on commit 089db31

Please sign in to comment.