diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2013-09-11 12:49:43 -0400 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2013-09-11 12:53:57 -0400 |
commit | a37aaafa97d4ce70558b7421646604322ff80f72 (patch) | |
tree | 5762c8e93caa7b4aa16ea20f85a050fa818ba830 /syllabus_source/Makefile | |
parent | b7bad069661009a822674e65d50316bc072c01bc (diff) | |
download | manual_for_Experimental_Atomic_Physics-a37aaafa97d4ce70558b7421646604322ff80f72.tar.gz manual_for_Experimental_Atomic_Physics-a37aaafa97d4ce70558b7421646604322ff80f72.zip |
makefiles updated
Diffstat (limited to 'syllabus_source/Makefile')
-rw-r--r-- | syllabus_source/Makefile | 69 |
1 files changed, 18 insertions, 51 deletions
diff --git a/syllabus_source/Makefile b/syllabus_source/Makefile index cd34cd7..c737b4f 100644 --- a/syllabus_source/Makefile +++ b/syllabus_source/Makefile @@ -1,63 +1,30 @@ # -*- make -*- +# FILE: "/home/evmik/jobs/wm/2013_fall_Experimental_Atomic_Physics_251/syllabus_source/Makefile" +# LAST MODIFICATION: "Wed, 11 Sep 2013 12:43:04 -0400 (evmik)" +# (C) 2001 by Eugeniy Mikhailov, <evmik@tamu.edu> +# $Id: Makefile,v 1.3 2003/04/23 20:40:19 evmik Exp $ -make = make +# Default value so one can compile i3-msg standalone +TOPDIR=.. +include $(TOPDIR)/common.mk +include ./local.mk +include ../make_templates/t2t.mk +include ../make_templates/tex.mk -INSTALL = install -C -CP_FILES = $(INSTALL) --mode=664 -#includes = weekly_topics.txt -includes = -t2t_files = $(wildcard *.t2t) -html_targets = $(t2t_files:%.t2t=%.html) -tex_targets = $(t2t_files:%.t2t=%.tex) -pdf_targets = $(t2t_files:%.t2t=%.pdf) +dest_dir = $(DESTDIR)$(PREFIX)/$(PACKAGE_DIR) -dest_dir = ../syllabus +.DEFAULT_GOAL := all -all: html pdf copy2dest - -html: $(html_targets) - -pdf: $(pdf_targets) - -tex: $(tex_targets) - -weekly_topics.txt: ../tentative_list_of_topics.t2t - ../bin/tent_sched2weekly_topics.sh < ../tentative_list_of_topics.t2t > weekly_topics.txt - -$(dest_dir): - $(INSTALL) -d $(dest_dir) - -copy2dest: $(dest_dir) html pdf - $(CP_FILES) $(html_targets) $(pdf_targets) $(dest_dir)/ - - -$(html_targets): %.html : %.t2t $(includes) - txt2tags --css-sugar -t html -o $@ $< - -$(pdf_targets): %.pdf : %.tex $(includes) - pdflatex $< - -$(tex_targets): %.tex : %.t2t $(includes) - txt2tags -t tex -o $@ $< +all: compile install +compile: $(REQUIRED_TARGETS) +clean: $(CLEAN_TARGETS) + +real_clean: $(REAL_CLEAN_TARGETS) -clean_latex_tmp: - rm -f *.aux - rm -f *.log - rm -f *.out - rm -f *.tex +install: $(INSTALL_TARGETS) -clean: clean_latex_tmp - rm -f last_time_uploaded - - -clean_all: clean - rm -f $(pdf_targets) - rm -f $(tex_targets) - rm -f $(html_targets) - rm -f $(includes) -real_clean: clean_all |