Last change
on this file since 261 was
255,
checked in by jazz, 14 years ago
|
- modified Makefile
- update the path of debian packages repository
|
File size:
1.2 KB
|
Line | |
---|
1 | VERSION = 0.20.2 |
---|
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/*-site.xml |
---|
16 | @chmod a+x `find . -name "configure"` |
---|
17 | |
---|
18 | update: |
---|
19 | @scp ../hadoop*_amd64.deb www.classcloud.org:/var/www/classcloud/dists/unstable/main/binary-amd64/. |
---|
20 | @scp ../hadoop*_amd64.changes www.classcloud.org:/var/www/classcloud/dists/unstable/main/binary-amd64/. |
---|
21 | @scp ../hadoop*_i386.deb www.classcloud.org:/var/www/classcloud/dists/unstable/main/binary-i386/. |
---|
22 | @scp ../hadoop*_i386.changes www.classcloud.org:/var/www/classcloud/dists/unstable/main/binary-i386/. |
---|
23 | @ssh www.classcloud.org /var/www/classcloud/update-repository.sh |
---|
24 | |
---|
25 | help: |
---|
26 | @echo "Usage:" |
---|
27 | @echo "make deb - Build Debian Package." |
---|
28 | @echo "make clean - Clean up Debian Package temparate files." |
---|
29 | @echo "make source - download source tarball from hadoop mirror site." |
---|
30 | @echo "make update - upload deb packages to classcloud.org." |
---|
31 | @echo "make help - show Makefile options." |
---|
32 | @echo " " |
---|
33 | @echo "Example:" |
---|
34 | @echo "$$ make source; make deb; make clean" |
---|
Note: See
TracBrowser
for help on using the repository browser.