Navigation Menu

Skip to content

Commit

Permalink
Add misc target
Browse files Browse the repository at this point in the history
  • Loading branch information
kenhys committed Jul 25, 2012
1 parent 6fcf799 commit a6b2aac
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions Makefile.am
Expand Up @@ -56,7 +56,7 @@ tag:
cd $(top_srcdir) && \
git tag v$(VERSION) -a -m 'mroonga $(VERSION)!!!'

update-latest-release:
update-latest-release: misc
@if test -z "$(OLD_RELEASE)"; then \
echo "\$$(OLD_RELEASE) is missing"; \
exit 1; \
Expand All @@ -69,9 +69,6 @@ update-latest-release:
echo "\$$(NEW_RELEASE_DATE) is missing"; \
exit 1; \
fi
cd $(top_srcdir) && test -d "misc" || \
git clone git://github.com/clear-code/cutter.git
ln -sf cutter/misc misc
cd $(top_srcdir) && \
misc/update-latest-release.rb \
$(PACKAGE) $(OLD_RELEASE) $(OLD_RELEASE_DATE) \
Expand Down Expand Up @@ -143,3 +140,11 @@ upload-to-github:

echo-cutter:
echo $(CUTTER)

misc:
@if test -z "$(CUTTER_SOURCE_PATH)"; then \
echo "\$$(CUTTER_SOURCE_PATH) is missing"; \
exit 1; \
fi
ln -s "$(CUTTER_SOURCE_PATH)/misc" misc;

0 comments on commit a6b2aac

Please sign in to comment.