-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
35 lines (27 loc) · 1008 Bytes
/
Makefile
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
# Define the task name
TASK = kadi
# Set Flight environment to be SKA. The other choice is TST. Include the
# Makefile.FLIGHT make file that does most of the hard work
FLIGHT = SKA
include /proj/sot/ska/include/Makefile.FLIGHT
WWW = $(INSTALL)/www
# Define the installed executables for the task. This directory is reserved
# for documented tools and not for dedicated scripts, one-off codes etc
DOC = docs/_build/html/*
# Installed data. These are template RDB files, mostly relevant for testing
DATA = task_schedule*.cfg ltt_bads.dat
# telem_archive uses a number of dedicated perl and IDL scripts
SHARE = update_events update_cmds
.PHONY: doc
doc:
cd doc; make html
install: $(TEST_DEPS)
mkdir -p $(INSTALL_SHARE)
mkdir -p $(INSTALL_DATA)
mkdir -p $(INSTALL_DOC)
#
rsync --times --cvs-exclude $(SHARE) $(INSTALL_SHARE)/
rsync --times --cvs-exclude $(DATA) $(INSTALL_DATA)/
rsync --archive --times $(DOC) $(INSTALL_DOC)/
install_doc:
rsync --archive --times $(DOC) $(INSTALL_DOC)/