-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
39 lines (28 loc) · 923 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# -*- Makefile -*-
# DIR = /usr/src/scripts
DIR = `pwd`
host = `hostname`
ubuntu-desktop:
(cd ubuntu-setup; sh desktop.sh)
menu:
echo "Creating Nautilus menu items..."
# How to use gconftool to create Nautilus menu items???
update:
test -d "${DIR}" || sudo cp -r . "${DIR}"
git pull
links:
sudo ln -sf ${DIR}/dir2djvu.py /usr/local/bin/dir2djvu
sudo ln -sf ${DIR}/zip27z.py /usr/local/bin/zip27z
sudo ln -sf ${DIR}/ogg/oggart.sh /usr/local/bin/oggart
sudo ln -sf ${DIR}/ogg/oggcover64.py /usr/local/bin/oggcover64
install: links
#install: menu
cluster:
(cd ubuntu-setup; sh setup.sh)
consul:
(cd ubuntu-setup; ansible-playbook -i hosts desktop.yml -f 10 --tags "consul")
provision:
(cd ubuntu-setup; ansible-playbook -i hosts common.yml -f 10 --tags "dynomite")
# (cd ubuntu-setup; ansible-playbook -i hosts common.yml -f 10)
students:
(cd ubuntu-setup; ansible-playbook -i hosts students.yml -f 10)