Blame view

DOCUMENTATION/Makefile 1.18 KB
886c558b   Steve Greedy   SACAMOS Public Re...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
default: user_guide  theory_manual 

clean: clean_theory_manual clean_user_guide

TOP_LEVEL_DIRECTORY:=$(shell pwd)

export TOP_LEVEL_DIRECTORY

help:
	@echo "make                     : make SACAMOS_UserGuide.pdf and SACAMOS_TheoryManual.pdf"
	@echo "make install             : make SACAMOS_UserGuide.pdf and SACAMOS_TheoryManual.pdf and move to the top level"
	@echo "make user_guide          : make SACAMOS_UserGuide.pdf"
	@echo "make theory_manual       : make SACAMOS_TheoryManual.pdf"
	@echo "make clean               : clean all LaTeX files"
	@echo "make clean_theory_manual : clean theory manual LaTeX files"
	@echo "make clean_user_guide    : clean user guide LaTeX files"
	@echo "make clean_all           : clean all LaTeX files and image files"

theory_manual:
	( cd THEORY_MANUAL ; $(MAKE) )

user_guide:
	( cd USER_GUIDE ; $(MAKE) )

install:
	( cd USER_GUIDE ; $(MAKE) )
	( mv USER_GUIDE/SACAMOS_UserGuide.pdf . )
	( cd THEORY_MANUAL ; $(MAKE) )
	( mv THEORY_MANUAL/SACAMOS_TheoryManual.pdf . )
        
clean_theory_manual: 
	( cd THEORY_MANUAL ; make clean )

clean_user_guide:
	( cd USER_GUIDE ; make clean )

clean_all:
	( cd THEORY_MANUAL ; make clean_all )
	( cd USER_GUIDE ; make clean_all )