-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
executable file
·66 lines (51 loc) · 1.92 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
all: gen
CV: content/media/pdfs/Resume_Work.pdf
content/media/pdfs/Resume_Work.pdf: CV/Resume_Work.tex
cd CV; make all;
mkdir -p content/media/pdfs/;
cp CV/Resume_Work.pdf content/media/pdfs/CV.pdf;
cp CV/Concise_CV.pdf content/media/pdfs/Concise_CV.pdf
gen: CV
hyde gen
serve: clean gen
hyde serve
clean:
rm -rf deploy
prod: clean
hyde gen -c production.yaml
web:
lftp sftp://opo140030@giant.utdallas.edu/home/eng/o/opo140030/public_html
$(info _____________________________________________________________________________)
$(info Fast FILE Move: )
$(info lcd deploy_production && put *.html )
$info )
$(info _____________________________________________________________________________)
deploy:
cd deploy_production/;
slides:
$(info lftp sftp://opo140030@giant.utdallas.edu)
$(info <mirror -R> to recursively upload \
<mirror -n -R> to recursively upload \
newer files \
or \
<mirror> to just upload \
lcd /home/lex/Dropbox/forthworthTalk \
\
put index.html )
lftp sftp://opo140030@giant.utdallas.edu/home/eng/o/opo140030/public_html/dfwslides;
ldir;
moveind
ldir:
lcd /home/lex/Dropbox/forthworthTalk
moveind:
put index.html
help:
$(info make <arg>)
$(info <arg> could be any of the following: )
$(info <web> -- to publish)
$(info <slides> -- to upload dfwslides)
$(info <prod> -- to generate for production)
$(info <clean> -- to clear deploy_production folder)
$(info <gen> -- to generate files for local deployment)
$(info <serve> -- to view locally)
$(info <CV> -- to make pdf of CV)