Line | |
---|
1 | ETC_SCRIPTS = \ |
---|
2 | qemu-ifup |
---|
3 | |
---|
4 | GLOBAL_SCRIPTS = \ |
---|
5 | cpuperf-perfcntr \ |
---|
6 | cpuperf-xen \ |
---|
7 | xend \ |
---|
8 | xenperf \ |
---|
9 | xenstore-chmod \ |
---|
10 | xenstore-control \ |
---|
11 | xenstore-exists \ |
---|
12 | xenstore-list \ |
---|
13 | xenstore-ls \ |
---|
14 | xenstore-read \ |
---|
15 | xenstore-rm \ |
---|
16 | xenstore-write \ |
---|
17 | xentop \ |
---|
18 | xentrace \ |
---|
19 | xentrace_format \ |
---|
20 | xentrace_setmask \ |
---|
21 | xentrace_setsize \ |
---|
22 | xm |
---|
23 | |
---|
24 | PRIVATE_SCRIPTS = \ |
---|
25 | xen-utils-version \ |
---|
26 | $(WRAPPER) |
---|
27 | |
---|
28 | WRAPPER = xen-utils-wrapper |
---|
29 | |
---|
30 | ETC_SCRIPTS_DIR = /etc/xen/scripts |
---|
31 | GLOBAL_SCRIPTS_DIR = /usr/sbin |
---|
32 | PRIVATE_SCRIPTS_DIR = /usr/lib/xen-common/bin |
---|
33 | |
---|
34 | install: |
---|
35 | install -d $(DESTDIR)$(ETC_SCRIPTS_DIR) |
---|
36 | install $(ETC_SCRIPTS) $(DESTDIR)$(ETC_SCRIPTS_DIR) |
---|
37 | install -d $(DESTDIR)$(GLOBAL_SCRIPTS_DIR) |
---|
38 | @for i in $(GLOBAL_SCRIPTS); do \ |
---|
39 | echo ln -s $(PRIVATE_SCRIPTS_DIR)/$(WRAPPER) $(DESTDIR)$(GLOBAL_SCRIPTS_DIR)/$$i; \ |
---|
40 | ln -s $(PRIVATE_SCRIPTS_DIR)/$(WRAPPER) $(DESTDIR)$(GLOBAL_SCRIPTS_DIR)/$$i || exit 1; \ |
---|
41 | done |
---|
42 | install -d $(DESTDIR)$(PRIVATE_SCRIPTS_DIR) |
---|
43 | install $(PRIVATE_SCRIPTS) $(DESTDIR)$(PRIVATE_SCRIPTS_DIR) |
---|
44 | |
---|
Note: See
TracBrowser
for help on using the repository browser.