|
@@ -73,7 +73,7 @@ pdf:
|
|
|
|
|
|
clean:
|
|
|
[ ! -d $(OUTPUTDIR) ] || rm -rf $(OUTPUTDIR)
|
|
|
- cd $(BUILDDIR); rubber --clean thesis; rm -f *_*.tex; rm -f *_*.html; rm -f *_*.aux
|
|
|
+ cd $(BUILDDIR); git clean -f -X
|
|
|
|
|
|
regenerate:
|
|
|
$(PELICAN) -r $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS)
|
|
@@ -104,9 +104,9 @@ stopserver:
|
|
|
$(BASEDIR)/develop_server.sh stop
|
|
|
@echo 'Stopped Pelican and SimpleHTTPServer processes running in background.'
|
|
|
|
|
|
-publish:
|
|
|
+publish: html
|
|
|
$(PELICAN) $(BUILDDIR) -o $(OUTPUTDIR) -s $(PUBLISHCONF) $(PELICANOPTS)
|
|
|
- [ -f content/thesis.pdf ] && cp $(BUILDDIR)/thesis.pdf $(OUTPUTDIR)
|
|
|
+ [ -f $(BUILDDIR)/thesis.pdf ] && cp $(BUILDDIR)/thesis.pdf $(OUTPUTDIR)
|
|
|
|
|
|
ssh_upload: publish
|
|
|
scp -P $(SSH_PORT) -r $(OUTPUTDIR)/* $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)
|