-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
57 lines (52 loc) · 1.98 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
############################
# Change the task name!
############################
TASK = Snapshot
include /data/mta4/MTA/include/Makefile.MTA
BIN = force_scs107_alert.pl run-acorn.pl run-multimon.pl snarcl.pl tlogr.pl
IDL_LIB = snap_plot.pro snap_plot_ctx.pro snap_plot_iru.pro snap_plot_mom.pro
CGI_BIN = snap.cgi
DATA = chandra-msids.list snaps2.par snaps2_alerts.par snaps2_noalerts.par
DOC = ReadMe
PERLLIB = check_state.pm check_state_alerts.pm check_state_force_alert.pm check_state_noalerts.pm comps.pm snap.pm snap_format.pm
WWW = snapshot_hlp.html
#sed -e "s/.\/snaps2.par/\/home\/mta\/Snap\/snaps2.par/" check_state.pm >! check_state_alerts.pm
#cp snaps2.par snaps2_alerts.par
#cp snaps2.par snaps2_noalerts.par
# sed -e "s/send_/#send_/" check_state_alerts.pm >! tmp_check_state_noalerts.pm
# sed -e "s/sub #send_/sub send_/" tmp_check_state_noalerts.pm >! check_state_noalerts.pm
install:
ifdef BIN
rsync --times --cvs-exclude $(BIN) $(INSTALL_BIN)/
endif
ifdef DATA
mkdir -p $(INSTALL_DATA)
rsync --times --cvs-exclude $(DATA) $(INSTALL_DATA)/
endif
ifdef DOC
mkdir -p $(INSTALL_DOC)
rsync --times --cvs-exclude $(DOC) $(INSTALL_DOC)/
endif
ifdef IDL_LIB
mkdir -p $(INSTALL_IDL_LIB)
rsync --times --cvs-exclude $(IDL_LIB) $(INSTALL_IDL_LIB)/
endif
ifdef CGI_BIN
mkdir -p $(INSTALL_CGI_BIN)
rsync --times --cvs-exclude $(CGI_BIN) $(INSTALL_CGI_BIN)/
endif
ifdef PERLLIB
mkdir -p $(INSTALL_PERLLIB)
rsync --times --cvs-exclude $(PERLLIB) $(INSTALL_PERLLIB)/
endif
ifdef WWW
mkdir -p $(INSTALL_WWW)
rsync --times --cvs-exclude $(WWW) $(INSTALL_WWW)/
endif
#rsync --times --cvs-exclude $(BIN) /data/mta4/www/Snapshot/
#rsync --times --cvs-exclude $(DATA) /data/mta4/www/Snapshot/
#rsync --times --cvs-exclude $(DOC) /data/mta4/www/Snapshot/
#rsync --times --cvs-exclude $(IDL_LIB) /data/mta4/www/Snapshot/
#rsync --times --cvs-exclude $(CGI_BIN) /data/mta4/www/Snapshot/
#rsync --times --cvs-exclude $(PERLLIB) /data/mta4/www/Snapshot/
#rsync --times --cvs-exclude $(WWW) /data/mta4/www/Snapshot/