Last change
on this file since 261 was
65,
checked in by jazz, 16 years ago
|
- 更新 0.19.1 的打包規則
- 用 dch -i 修改 debian/changelog
- 暫時不用 GPG Key 打包
- Makefile 新增範例
|
File size:
1.0 KB
|
Line | |
---|
1 | VERSION = 0.19.1 |
---|
2 | all: help |
---|
3 | |
---|
4 | deb: |
---|
5 | @dpkg-buildpackage -rfakeroot -aamd64 |
---|
6 | @dpkg-buildpackage -rfakeroot -ai386 |
---|
7 | |
---|
8 | clean: |
---|
9 | @debian/rules clean |
---|
10 | |
---|
11 | source: |
---|
12 | @wget http://ftp.twaren.net/Unix/Web/apache/hadoop/core/hadoop-${VERSION}/hadoop-${VERSION}.tar.gz |
---|
13 | @tar zxvf hadoop-${VERSION}.tar.gz -C .. |
---|
14 | @rm conf/hadoop-env.sh |
---|
15 | @rm conf/hadoop-site.xml |
---|
16 | @chmod a+x `find . -name "configure"` |
---|
17 | |
---|
18 | update: |
---|
19 | @scp ../hadoop*_amd64.deb www.classcloud.org:/var/www/hadoop/dists/unstable/main/binary-amd64/. |
---|
20 | @scp ../hadoop*_i386.deb www.classcloud.org:/var/www/hadoop/dists/unstable/main/binary-i386/. |
---|
21 | @ssh www.classcloud.org /var/www/hadoop/update-repository.sh |
---|
22 | |
---|
23 | help: |
---|
24 | @echo "Usage:" |
---|
25 | @echo "make deb - Build Debian Package." |
---|
26 | @echo "make clean - Clean up Debian Package temparate files." |
---|
27 | @echo "make source - download source tarball from hadoop mirror site." |
---|
28 | @echo "make update - upload deb packages to classcloud.org." |
---|
29 | @echo "make help - show Makefile options." |
---|
30 | @echo " " |
---|
31 | @echo "Example:" |
---|
32 | @echo "$$ make source; make deb; make clean" |
---|
Note: See
TracBrowser
for help on using the repository browser.