forked from divad12/khan-dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathMakefile
29 lines (26 loc) · 815 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
install:
./git_sync.sh
$(MAKE) wipe-generated-profile-file
$(MAKE) os-install
$(MAKE) common-install
@echo "*** YOU MUST REBOOT **IF** this was ***"
@echo "*** the first time you've setup ***"
@echo "*** khan-dotfiles (i.e. if you are ***"
@echo "*** onboarding) ***"
@echo "*** (Reboot is required for browser ***"
@echo "*** to pickup CA for khanacademy.dev) ***"
@echo ""
@echo "To finish your setup, head back to the"
@echo "setup docs:"
@echo " https://khanacademy.atlassian.net/wiki/x/VgKiC"
wipe-generated-profile-file:
rm -f ~/.profile-generated.khan && touch ~/.profile-generated.khan
os-install:
if [ `uname -s` = Linux ]; then \
./linux-setup.sh; \
fi
if [ `uname -s` = Darwin ]; then \
./mac-setup.sh; \
fi
common-install:
./setup.sh