Rev | Line | |
---|
[52] | 1 | all: help |
---|
| 2 | |
---|
| 3 | deb: |
---|
| 4 | @dpkg-buildpackage -rfakeroot -k0x570712BF -aamd64 |
---|
| 5 | @dpkg-buildpackage -rfakeroot -k0x570712BF -ai386 |
---|
| 6 | |
---|
| 7 | clean: |
---|
| 8 | @debian/rules clean |
---|
| 9 | |
---|
| 10 | source: |
---|
| 11 | @wget http://ftp.twaren.net/Unix/Web/apache/hadoop/core/hadoop-0.18.3/hadoop-0.18.3.tar.gz |
---|
| 12 | @tar zxvf hadoop-0.18.3.tar.gz -C .. |
---|
| 13 | @rm conf/hadoop-env.sh |
---|
| 14 | @rm conf/hadoop-site.xml |
---|
| 15 | @chmod a+x `find . -name "configure"` |
---|
| 16 | |
---|
| 17 | update: |
---|
| 18 | @scp GPG-KEY-JAZZWANG www.classcloud.org:/var/www/hadoop/. |
---|
| 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." |
---|
Note: See
TracBrowser
for help on using the repository browser.