Navigation Menu

Skip to content

Commit

Permalink
[apt][yum] link automatically.
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Nov 28, 2011
1 parent 175a410 commit 36d5a1f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion packages/apt/Makefile.am
Expand Up @@ -38,7 +38,12 @@ upload: ensure-rsync-path
); \
done

build:
build: source
./build-in-chroot.sh \
$(PACKAGE) $(VERSION) $(CHROOT_BASE) \
'$(ARCHITECTURES)' '$(CODES)'

source: ../$(PACKAGE)-$(VERSION).tar.gz

../$(PACKAGE)-$(VERSION).tar.gz:
ln -s $(abs_top_builddir)/$(PACKAGE)-$(VERSION).tar.gz ../
7 changes: 6 additions & 1 deletion packages/yum/Makefile.am
Expand Up @@ -37,7 +37,12 @@ upload: ensure-rsync-path

build: build-in-chroot

build-in-chroot:
build-in-chroot: source
./build-in-chroot.sh \
mysql-groonga $(VERSION) $(CHROOT_BASE) \
'$(ARCHITECTURES)' '$(DISTRIBUTIONS)'

source: ../$(PACKAGE)-$(VERSION).tar.gz

../$(PACKAGE)-$(VERSION).tar.gz:
ln -s $(abs_top_builddir)/$(PACKAGE)-$(VERSION).tar.gz ../

0 comments on commit 36d5a1f

Please sign in to comment.