disinclined.org
/
git
/
disinclined.org.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update gitweb submodule
[disinclined.org.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
04f9f5e
..
325500c
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,11
+1,14
@@
-default: site
+default: build
+all: update build
-hostname = 69.164.210.222
sitename = disinclined.org
sitename = disinclined.org
+hostname = disinclined.org
+
+update:
+ ./update-submodules.sh
build site:
build site:
- git submodule update
- cp ~/src/resume/resume.{pdf,html} .
+ cp resume/resume.{pdf,html} .
bundle exec jekyll build -d $(sitename) --trace
serve:
bundle exec jekyll build -d $(sitename) --trace
serve:
@@
-20,6
+23,3
@@
deploy:
ssh -t $(hostname) tar -xf $(sitename).tgz
ssh -t $(hostname) sudo rsync -a ~dylan/$(sitename) /srv/http/
rm $(sitename).tgz
ssh -t $(hostname) tar -xf $(sitename).tgz
ssh -t $(hostname) sudo rsync -a ~dylan/$(sitename) /srv/http/
rm $(sitename).tgz
-
-fix-git-permissions:
- ssh -t $(hostname) sudo -u git /var/lib/gitolite3/update-permissions