2014-04-29 21:42:06 +00:00
|
|
|
all:
|
|
|
|
$(info 'Nothing todo!')
|
|
|
|
$(info 'Use make install or make uninstall')
|
|
|
|
|
2014-05-11 14:42:37 +00:00
|
|
|
dep-ubuntu:
|
|
|
|
apt-get install ruby ruby-gpgme ruby-highline ruby-i18n ruby-locale
|
2014-04-29 21:42:06 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
mkdir -p /usr/local/mpw
|
2014-05-11 14:42:37 +00:00
|
|
|
cp -r ./MPW /usr/local/mpw/
|
|
|
|
cp -r ./i18n /usr/local/mpw/
|
|
|
|
cp ./mpw /usr/local/mpw/
|
|
|
|
ln -snf /usr/local/mpw/mpw /usr/local/bin/
|
|
|
|
cp ./mpw-server /usr/local/mpw/
|
|
|
|
ln -snf /usr/local/mpw/mpw-server /usr/local/bin/mpw-server
|
|
|
|
cp ./mpw-ssh /usr/local/mpw/
|
|
|
|
ln -snf /usr/local/mpw/mpw-ssh /usr/local/bin/mpw-ssh
|
2014-04-29 21:42:06 +00:00
|
|
|
|
|
|
|
uninstall:
|
2014-05-11 14:42:37 +00:00
|
|
|
rm /usr/local/bin/mpw-server
|
|
|
|
rm /usr/local/bin/mpw
|
|
|
|
rm /usr/local/bin/mpw-ssh
|
2014-04-29 21:42:06 +00:00
|
|
|
rm -rf /usr/local/mpw
|