X-Git-Url: https://disinclined.org/git/?a=blobdiff_plain;f=Makefile;h=325500c4738db50add4c13af82bd997b8bd65b05;hb=c39d05da76d42e61f845675e06b2c03ee1cda561;hp=bd6c1076fd1da8cac18f77262d7572599e3d191c;hpb=9e9561440a85f629ef673d79356f2ae4d1d00070;p=disinclined.org.git diff --git a/Makefile b/Makefile index bd6c107..325500c 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,14 @@ -default: site +default: build +all: update build -hostname = disinclined.org sitename = disinclined.org +hostname = disinclined.org + +update: + ./update-submodules.sh build site: - git submodule update - cp ~/src/resume/resume.{pdf,html} . + cp resume/resume.{pdf,html} . 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 - -fix-git-permissions: - ssh -t $(hostname) sudo -u git /var/lib/gitolite3/update-permissions