diff options
Diffstat (limited to 'manual/Makefile')
-rw-r--r-- | manual/Makefile | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/manual/Makefile b/manual/Makefile index 5625df5..48a0794 100644 --- a/manual/Makefile +++ b/manual/Makefile @@ -1,12 +1,17 @@ # -*- make -*- -# FILE: "/home/evmik/jobs/wm/2013_fall_Experimental_Atomic_Physics_251/manual/Makefile" -# LAST MODIFICATION: "Tue, 27 Aug 2013 10:36:02 -0400 (evmik)" +# FILE: "/home/evmik/jobs/wm/2013_fall_Experimental_Atomic_Physics_251/manual_source/Makefile" +# LAST MODIFICATION: "Fri, 30 Aug 2013 17:33:03 -0400 (evmik)" # (C) 2001 by Eugeniy Mikhailov, <evmik@tamu.edu> # $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 = ../manual + LATEX_OPTIONS="-interaction=nonstopmode -src-specials" DATE := $(shell date +%Y%m%d) @@ -22,7 +27,7 @@ pdf_targets = $(tex_targets:%.tex=%.pdf) ps_targets = $(tex_targets:%.tex=%.ps) dvi_targets = $(tex_targets:%.tex=%.dvi) -default: pdf +default: pdf copy2dest INCLUDED_TEX_FILES=$(wildcard chapters/*.tex) GENERATED_AUX_FILES=$(INCLUDED_TEX_FILES:%.tex=%.aux) @@ -98,6 +103,12 @@ clean_for_arxive: clean_results clean_backups clean_tex clean_all: clean clean_results clean_backups +$(dest_dir): + $(INSTALL) -d $(dest_dir) + +copy2dest: $(dest_dir) pdf + $(CP_FILES) $(pdf_targets) $(dest_dir)/ + arxive_submission: $(ROOT_OF_MAIN_TEX_FILE).for_arxive.$(DATE).tar.gz $(ROOT_OF_MAIN_TEX_FILE).for_arxive.$(DATE).tar.gz: clean_for_arxive |