Blame view

DOCUMENTATION/Makefile 1.69 KB
afb21737   Steve Greedy   Public repository...
1
default: user_guide  theory_manual mod_document
886c558b   Steve Greedy   SACAMOS Public Re...
2

afb21737   Steve Greedy   Public repository...
3
clean: clean_theory_manual clean_user_guide clean_mod_document
886c558b   Steve Greedy   SACAMOS Public Re...
4
5
6
7
8
9

TOP_LEVEL_DIRECTORY:=$(shell pwd)

export TOP_LEVEL_DIRECTORY

help:
afb21737   Steve Greedy   Public repository...
10
11
	@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"
886c558b   Steve Greedy   SACAMOS Public Re...
12
13
	@echo "make user_guide          : make SACAMOS_UserGuide.pdf"
	@echo "make theory_manual       : make SACAMOS_TheoryManual.pdf"
afb21737   Steve Greedy   Public repository...
14
	@echo "make mod_document        : make SACAMOS_Spacecraft_cable_MOD_development.pdf"
886c558b   Steve Greedy   SACAMOS Public Re...
15
16
17
	@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"
afb21737   Steve Greedy   Public repository...
18
	@echo "make clean_mod_document  : clean mod document LaTeX files"
886c558b   Steve Greedy   SACAMOS Public Re...
19
20
21
22
23
24
25
26
	@echo "make clean_all           : clean all LaTeX files and image files"

theory_manual:
	( cd THEORY_MANUAL ; $(MAKE) )

user_guide:
	( cd USER_GUIDE ; $(MAKE) )

afb21737   Steve Greedy   Public repository...
27
28
29
mod_document:
	( cd MOD_DOCUMENT ; $(MAKE) )

886c558b   Steve Greedy   SACAMOS Public Re...
30
31
32
33
34
install:
	( cd USER_GUIDE ; $(MAKE) )
	( mv USER_GUIDE/SACAMOS_UserGuide.pdf . )
	( cd THEORY_MANUAL ; $(MAKE) )
	( mv THEORY_MANUAL/SACAMOS_TheoryManual.pdf . )
afb21737   Steve Greedy   Public repository...
35
36
	( cd MOD_DOCUMENT ; $(MAKE) )
	( mv MOD_DOCUMENT/SACAMOS_Spacecraft_cable_MOD_development.pdf . )
886c558b   Steve Greedy   SACAMOS Public Re...
37
38
39
40
41
42
43
        
clean_theory_manual: 
	( cd THEORY_MANUAL ; make clean )

clean_user_guide:
	( cd USER_GUIDE ; make clean )

afb21737   Steve Greedy   Public repository...
44
45
46
clean_mod_document:
	( cd MOD_DOCUMENT ; make clean )

886c558b   Steve Greedy   SACAMOS Public Re...
47
48
49
clean_all:
	( cd THEORY_MANUAL ; make clean_all )
	( cd USER_GUIDE ; make clean_all )
afb21737   Steve Greedy   Public repository...
50
	( cd MOD_DOCUMENT ; make clean_all )