Changeset - e90904a62791
[Not reviewed]
0 2 0
Bradley Kuhn (bkuhn) - 6 years ago 2018-09-26 16:30:21
bkuhn@ebb.org
Working Makefile installation.
2 files changed with 7 insertions and 7 deletions:
0 comments (0 inline, 0 general)
presentations/30min-specific-sections/Makefile
Show inline comments
 
# Makefile for Presentation
 
#
 
# You can change the PRESENTATION_BASE below, or if you like, or set it as
 
# an environment variable before you type make.
 

	
 
ifndef PRESENTATION_BASE
 
PRESENTATION_BASE=2hr-GPL
 
INSTALL_DIR=/home/bkuhn/Files/Personal/Website/www.ebb.org/web-public/bkuhn/talks/LCA-2017-Tutorial/
 
PRESENTATION_BASE=specific-sections
 
endif 
 

	
 
DO_INCREMENTAL_POINTS = -i -s
 

	
 

	
 
# This should be the path to your checkout of the repository.  Under that
...
 
@@ -73,11 +72,12 @@ $(PRESENTATION_BASE).dvi: $(PRESENTATION_BASE).tex $(EPS_FIGS)
 
clean:
 
	/bin/rm -f $(PRESENTATION_BASE).ps $(PRESENTATION_BASE).pdf $(PRESENTATION_BASE).log texput.log $(PRESENTATION_BASE).lg $(PRESENTATION_BASE).tmp $(PRESENTATION_BASE).xref *.4ct *.4tc *.aux *.dvi $(PRESENTATION_BASE)*.html *.idv *.lg *.tmp $(PRESENTATION_BASE).css $(PRESENTATION_BASE).log $(PRESENTATION_BASE).out $(PRESENTATION_BASE)-js.* $(PRESENTATION_BASE).tex
 

	
 
err: ; $(ERR)
 

	
 
install: all
 
	/bin/rm -rf $(INSTALL_DIR)/ui
 
	/usr/bin/rsync -HavP ./  $(INSTALL_DIR)
 
	/bin/rm -rf $(INSTALL_DIR)/ui
 
	/usr/bin/rsync -HavP ../ui/ $(INSTALL_DIR)/ui/
 
	/usr/bin/rsync -HavP --exclude ui ./ copyleft.org:/var/www/presentations/$(PRESENTATION_BASE)/
 
	-ssh copyleft.org 'mkdir -p /var/www/presentations/$(PRESENTATION_BASE)/ui/conservancy/'
 
	/usr/bin/rsync -HavP ui/conservancy/  copyleft.org:/var/www/presentations/$(PRESENTATION_BASE)/ui/conservancy/
 
	-ssh copyleft.org 'find /var/www/presentations/$(PRESENTATION_BASE) -exec chmod gou+r {} \;'
 
	-ssh copyleft.org 'find /var/www/presentations/$(PRESENTATION_BASE) -type d -exec chmod gou+rx {} \;'
 
	./pres-cmd
presentations/30min-specific-sections/pres-cmd
Show inline comments
 
#!/bin/sh
 

	
 
talk=lca-2017-2
 
talk=half-day-gpl/specific-sections
 

	
 
rsync -HavP ./  /home/pres/$talk/
 
rm -rf /home/pres/$talk/ui
 
rsync -HavP ~/talks/ui/  /home/pres/$talk/ui/
 
find /home/pres/$talk -exec chmod gou+r {} \;
 
find /home/pres/$talk -type d -exec chmod gou+rx {} \;
0 comments (0 inline, 0 general)