source: hadoop-1.0.3/Makefile @ 261

Last change on this file since 261 was 258, checked in by jazz, 12 years ago
  • update for hadoop-1.0.3
File size: 1.2 KB
Line 
1VERSION = 1.0.3
2all: help
3
4deb:
5  @dpkg-buildpackage -rfakeroot -aamd64
6  @dpkg-buildpackage -rfakeroot -ai386
7
8clean:
9  @debian/rules clean
10
11source: 
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
18update:
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
25help:
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.