Makefile
1.69 KB
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
40
41
42
43
44
45
46
47
48
49
50
default: user_guide theory_manual mod_document
clean: clean_theory_manual clean_user_guide clean_mod_document
TOP_LEVEL_DIRECTORY:=$(shell pwd)
export TOP_LEVEL_DIRECTORY
help:
@echo "make : make SACAMOS_UserGuide.pdf, SACAMOS_TheoryManual.pdf and SACAMOS_Spacecraft_cable_MOD_development.pdf"
@echo "make install : make SACAMOS_UserGuide.pdf, SACAMOS_TheoryManual.pdf and SACAMOS_Spacecraft_cable_MOD_development.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 mod_document : make SACAMOS_Spacecraft_cable_MOD_development.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_mod_document : clean mod document 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) )
mod_document:
( cd MOD_DOCUMENT ; $(MAKE) )
install:
( cd USER_GUIDE ; $(MAKE) )
( mv USER_GUIDE/SACAMOS_UserGuide.pdf . )
( cd THEORY_MANUAL ; $(MAKE) )
( mv THEORY_MANUAL/SACAMOS_TheoryManual.pdf . )
( cd MOD_DOCUMENT ; $(MAKE) )
( mv MOD_DOCUMENT/SACAMOS_Spacecraft_cable_MOD_development.pdf . )
clean_theory_manual:
( cd THEORY_MANUAL ; make clean )
clean_user_guide:
( cd USER_GUIDE ; make clean )
clean_mod_document:
( cd MOD_DOCUMENT ; make clean )
clean_all:
( cd THEORY_MANUAL ; make clean_all )
( cd USER_GUIDE ; make clean_all )
( cd MOD_DOCUMENT ; make clean_all )