null+****@clear*****
null+****@clear*****
2011年 11月 28日 (月) 18:26:43 JST
Kouhei Sutou 2011-11-28 09:26:43 +0000 (Mon, 28 Nov 2011)
New Revision: 36d5a1f5ee9a8ef817b33de5995bbfb6797449b9
Log:
[apt][yum] link automatically.
Modified files:
packages/apt/Makefile.am
packages/yum/Makefile.am
Modified: packages/apt/Makefile.am (+6 -1)
===================================================================
--- packages/apt/Makefile.am 2011-11-28 09:26:22 +0000 (799de1e)
+++ packages/apt/Makefile.am 2011-11-28 09:26:43 +0000 (b5c44cc)
@@ -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 ../
Modified: packages/yum/Makefile.am (+6 -1)
===================================================================
--- packages/yum/Makefile.am 2011-11-28 09:26:22 +0000 (87d565f)
+++ packages/yum/Makefile.am 2011-11-28 09:26:43 +0000 (44787c3)
@@ -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 ../