Navigation Menu

Skip to content

Commit

Permalink
packages: distribute mroonga source under packages.groonga.org
Browse files Browse the repository at this point in the history
GitHub plans to stop downloadable source code archives.
See https://github.com/blog/1302-goodbye-uploads about details.
  • Loading branch information
kenhys committed Dec 21, 2012
1 parent 4e36dcc commit d84aaf9
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions configure.ac
Expand Up @@ -366,6 +366,7 @@ AC_CONFIG_FILES([
packages/rpm/fedora/Makefile
packages/yum/Makefile
packages/apt/Makefile
packages/source/Makefile
tools/Makefile
doc/Makefile
doc/locale/Makefile
Expand Down
1 change: 1 addition & 0 deletions packages/Makefile.am
@@ -1,4 +1,5 @@
SUBDIRS = \
apt \
rpm \
source \
yum
19 changes: 19 additions & 0 deletions packages/source/Makefile.am
@@ -0,0 +1,19 @@
all:

release: upload

ensure-rsync-path:
@if test -z "$(RSYNC_PATH)"; then \
echo "--with-rsync-path configure option must be specified."; \
false; \
fi

download: ensure-rsync-path
rsync -avz --progress $(RSYNC_PATH)/source/mroonga/ files

upload: ensure-rsync-path files/$(PACKAGE)-$(VERSION).tar.gz
rsync -avz --progress --delete files/ $(RSYNC_PATH)/source/mroonga

files/$(PACKAGE)-$(VERSION).tar.gz: $(top_builddir)/$(PACKAGE)-$(VERSION).tar.gz
mkdir -p files
cp -p $< $@

0 comments on commit d84aaf9

Please sign in to comment.