diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2020-08-08 17:55:02 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2020-08-08 17:55:02 -0400 |
commit | ad2f2bbd28d2aa6426370a99ade7f7ab41e89beb (patch) | |
tree | 13694001331bdba0bf1ad221f73f188d38790c45 /Makefile | |
parent | 346439212d09449a7f7b86613d055a626219ef70 (diff) | |
download | manual_for_Experimental_Atomic_Physics-ad2f2bbd28d2aa6426370a99ade7f7ab41e89beb.tar.gz manual_for_Experimental_Atomic_Physics-ad2f2bbd28d2aa6426370a99ade7f7ab41e89beb.zip |
added html generating parts
Diffstat (limited to 'Makefile')
-rw-r--r--[l---------] | Makefile | 61 |
1 files changed, 60 insertions, 1 deletions
@@ -1 +1,60 @@ -../make_templates/subdir_makefile/Makefile
\ No newline at end of file +# -*- make -*- + +TOPDIR=$(shell pwd) +TOPDIR=. + +make = make + +class_base_dir = $(shell basename $(CURDIR)) + +upload_location_wm = physics.wm.edu:public_html/classes/$(class_base_dir) +hdrive_location = ~/disk_h/$(class_base_dir) +# see 2012_fall_practical_computing_for_scientists for PREVIOUS_YEAR_MATERIALS_DIR usage +PREVIOUS_YEAR_MATERIALS_DIR = + + +files4upload = $(html_targets) $(samples) $(syllabus_dir) $(misc) + +upscr = rsync --delete -ave ssh + +include $(TOPDIR)/common.mk +include ./local.mk +dest_dir = $(DESTDIR)$(PREFIX)/$(PACKAGE_DIR) + +include $(MAKEINCLUDE_DIR)/t2t.mk +include $(MAKEINCLUDE_DIR)/pandoc.mk +include $(MAKEINCLUDE_DIR)/rem.mk +include $(MAKEINCLUDE_DIR)/tex.mk +include $(MAKEINCLUDE_DIR)/css.mk +include $(MAKEINCLUDE_DIR)/raw.mk +include $(MAKEINCLUDE_DIR)/subdirs.mk +include $(MAKEINCLUDE_DIR)/dest_dirs.mk + + +.DEFAULT_GOAL := all + +all: compile install + +compile: subdirs $(REQUIRED_TARGETS) + +clean: subdirs $(CLEAN_TARGETS) + +real_clean: subdirs clean $(REAL_CLEAN_TARGETS) + +install: subdirs $(INSTALL_TARGETS) + +upload: upload_location_wm + + +upload_location_wm: + $(MAKE) upload2location upload_location=$(upload_location_wm) + +upload2location: + $(upscr) $(PREFIX)/ $(upload_location) + +hdrive: + $(MAKE) DESTDIR=$(hdrive_location)/ + +backup: + rsync -rvze ssh * spiffy.physics.wm.edu:jobs/wm/$(class_base_dir)/ + |