Statistics
| Branch: | Tag: | Revision:

root / xseg / tools / ganeti-hooks / instance-migrate-pre.d / Makefile @ 8c732208

History | View | Annotate | Download (642 Bytes)

1
.PHONY: default clean install install-src
2

    
3
include $(XSEG_HOME)/base.mk
4

    
5
DEVFILES="Makefile"
6

    
7
EFILES="archip-openvolumes"
8

    
9
SUBDIR:=$(subst $(XSEG_HOME),,$(CURDIR))
10

    
11
default:
12

    
13
clean:
14

    
15
install:
16
	install -d $(DESTDIR)$(ganetihooksdir)/instance-migrate-pre.d/
17
	@for f in $(EFILES) ; do \
18
		install -o 0 -g 0 -m 755 -t $(DESTDIR)$(ganetihooksdir)/instance-migrate-pre.d/ $$f ; \
19
	done
20

    
21
install-src:
22
	install -d $(DESTDIR)$(srcdir)$(SUBDIR) ;
23
	@for f in $(DEVFILES) ; do \
24
		install -o 0 -g 0 -m 644 -t $(DESTDIR)$(srcdir)$(SUBDIR) $$f ; \
25
	done
26
	@for f in $(EFILES) ; do \
27
		install -o 0 -g 0 -m 755 -t $(DESTDIR)$(srcdir)$(SUBDIR) $$f ; \
28
	done
29