@@ -11,6 +11,8 @@ RSYNC_EXCLUDE = --exclude .git --exclude '*~' \
11
11
RSYNC_DELETE = --delete --delete-excluded
12
12
RSYNC_ARGS = -aztv $(RSYNC_EXCLUDE )
13
13
14
+ # This will probably be "../geni-portal"
15
+ SRC_DIR = ../$(notdir $(CURDIR ) )
14
16
15
17
.PHONY : syncb syncd syncm synci syncs synct syncp syncc
16
18
@@ -20,41 +22,20 @@ default:
20
22
bin/geni-ch-githash : .git
21
23
git rev-parse HEAD > bin/geni-ch-githash
22
24
23
- synca : bin/geni-ch-githash
24
- $(RSYNC ) $(RSYNC_ARGS ) ../proto-ch algonquin.gpolab.bbn.com:
25
-
26
25
syncb : bin/geni-ch-githash
27
- $(RSYNC ) $(RSYNC_ARGS ) ../proto-ch bigslide.gpolab.bbn.com:
26
+ $(RSYNC ) $(RSYNC_ARGS ) $( SRC_DIR ) bigslide.gpolab.bbn.com:
28
27
29
28
syncd : bin/geni-ch-githash
30
- $(RSYNC ) $(RSYNC_ARGS ) ../proto-ch dagoola.gpolab.bbn.com:
31
-
32
- synce : bin/geni-ch-githash
33
- $(RSYNC ) $(RSYNC_ARGS ) ../proto-ch emmons.gpolab.bbn.com:
34
-
35
- synch : bin/geni-ch-githash
36
- $(RSYNC ) $(RSYNC_ARGS ) ../proto-ch haystack.gpolab.bbn.com:
29
+ $(RSYNC ) $(RSYNC_ARGS ) $(SRC_DIR ) dagoola.gpolab.bbn.com:
37
30
38
31
syncm : bin/geni-ch-githash
39
- $(RSYNC ) $(RSYNC_ARGS ) ../proto-ch marilac.gpolab.bbn.com:
32
+ $(RSYNC ) $(RSYNC_ARGS ) $( SRC_DIR ) marilac.gpolab.bbn.com:
40
33
41
34
synci : bin/geni-ch-githash
42
- $(RSYNC ) $(RSYNC_ARGS ) ../proto-ch illyrica.gpolab.bbn.com:
43
-
44
- syncs : bin/geni-ch-githash
45
- $(RSYNC ) $(RSYNC_ARGS ) ../proto-ch sergyar.gpolab.bbn.com:
46
-
47
- synct : bin/geni-ch-githash
48
- $(RSYNC ) $(RSYNC_ARGS ) ../proto-ch tau-ceti.gpolab.bbn.com:
49
-
50
- synctop : bin/geni-ch-githash
51
- $(RSYNC ) $(RSYNC_ARGS ) ../proto-ch tabletop.gpolab.bbn.com:
52
-
53
- syncp : bin/geni-ch-githash
54
- $(RSYNC ) $(RSYNC_ARGS ) ../proto-ch panther.gpolab.bbn.com:
35
+ $(RSYNC ) $(RSYNC_ARGS ) $(SRC_DIR ) illyrica.gpolab.bbn.com:
55
36
56
37
syncc : bin/geni-ch-githash
57
- $(RSYNC ) $(RSYNC_ARGS ) ../proto-ch cascade.gpolab.bbn.com:
38
+ $(RSYNC ) $(RSYNC_ARGS ) $( SRC_DIR ) cascade.gpolab.bbn.com:
58
39
59
40
syncn : bin/geni-ch-githash
60
- $(RSYNC ) $(RSYNC_ARGS ) ../proto-ch nye.gpolab.bbn.com:
41
+ $(RSYNC ) $(RSYNC_ARGS ) $( SRC_DIR ) nye.gpolab.bbn.com:
0 commit comments