# -*- make -*- # FILE: "/home/evmik/jobs/wm/2013_fall_Experimental_Atomic_Physics_251/matlab_usage_source/Makefile" # LAST MODIFICATION: "Tue, 10 Sep 2013 11:34:28 -0400 (evmik)" # (C) 2001 by Eugeniy Mikhailov, # $Id: Makefile,v 1.3 2003/04/23 20:40:19 evmik Exp $ MANUSCRIPT_DIR = $(shell basename `pwd`) SUBDIR=`find ./ -maxdepth 1 -type d |sed 1d| sed /CVS/d` INSTALL = install -C CP_FILES = $(INSTALL) --mode=664 dest_dir = ../matlab_usage LATEX_OPTIONS="-interaction=nonstopmode -src-specials" DATE := $(shell date +%Y%m%d) ROOT_OF_MAIN_TEX_FILE= EIT_filter MAIN_TEX_FILE=$(ROOT_OF_MAIN_TEX_FILE).tex t2t_files = $(wildcard *.t2t) tex_targets = $(t2t_files:%.t2t=%.tex) pdf_targets = $(tex_targets:%.tex=%.pdf) html_targets = $(t2t_files:%.t2t=%.html) tex_independent= pdf_independent= $(tex_independent:%.tex=%.pdf) fig_files = errorbar_plot.png errorbar_with_large_font_plot.png fitted_data_improved.png fitted_data.png simple_labeled_and_proper_limits_plot.png simple_labeled_plot.png simple_unlabeled_plot.png misc_files = $(fig_files) $(tex_independent) all: html $(pdf_independent) copy2dest make clean html: $(html_targets) pdf: $(pdf_independent) tex: $(tex_targets) $(html_targets): %.html : %.t2t txt2tags --css-sugar -t html -o $@ $< $(pdf_targets): %.pdf : %.tex rubber -d $< $(pdf_independent): %.pdf : %.tex rubber -d $< $(dest_dir): $(INSTALL) -d $(dest_dir) copy2dest: $(dest_dir) pdf $(CP_FILES) $(html_targets) $(dest_dir)/ #$(CP_FILES) $(pdf_independent) $(dest_dir)/ $(CP_FILES) $(misc_files) $(dest_dir)/ clean: clean_tex rm -f last_time_uploaded real_clean: clean_all clean_all: clean rm -f $(pdf_targets) rm -f $(pdf_independent) rm -f $(html_targets) clean_tex: rm -f $(tex_targets:%.tex=%.dvi) rm -f $(tex_targets:%.tex=%.log) rm -f $(tex_targets:%.tex=%.aux) rm -f $(tex_targets:%.tex=%.nav) rm -f $(tex_targets:%.tex=%.out) rm -f $(tex_targets:%.tex=%.snm) rm -f $(tex_targets:%.tex=%.toc) rm -f $(tex_targets:%.tex=%.vrb) rm -f $(tex_targets:%.tex=%.blg) rm -f $(GENERATED_AUX_FILES) rm -f missfont.log rm -f *Notes.bib clean_bib: rm -f $(tex_targets:%.tex=%.bbl)