File: Makefile.am

package info (click to toggle)
glusterfs 11.2-2
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 28,244 kB
  • sloc: ansic: 471,238; sh: 45,610; python: 16,893; perl: 3,328; makefile: 2,014; yacc: 487; ruby: 171; lisp: 124; xml: 75; lex: 61
file content (32 lines) | stat: -rw-r--r-- 867 bytes parent folder | download | duplicates (5)
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

EXTRA_DIST = glusterd-Debian glusterd-FreeBSD glusterd-Redhat \
	glusterd-SuSE glusterd.plist glustereventsd-FreeBSD \
	glustereventsd-Redhat glustereventsd-Debian

CLEANFILES =

INIT_DIR = @initdir@
SYSTEMD_DIR = @systemddir@
LAUNCHD_DIR = @launchddir@

$(GF_DISTRIBUTION):
if WITH_SERVER
	@if [ ! -d $(SYSTEMD_DIR) ]; then \
		$(mkdir_p) $(DESTDIR)$(INIT_DIR); \
		$(INSTALL_PROGRAM) glusterd-$(GF_DISTRIBUTION) $(DESTDIR)$(INIT_DIR)/glusterd; \
	fi
endif
if BUILD_EVENTS
	@if [ ! -d $(SYSTEMD_DIR) ]; then \
		$(mkdir_p) $(DESTDIR)$(INIT_DIR); \
		$(INSTALL_PROGRAM) glustereventsd-$(GF_DISTRIBUTION) $(DESTDIR)$(INIT_DIR)/glustereventsd; \
	fi
endif

install-exec-local: $(GF_DISTRIBUTION)

install-data-local:
if GF_DARWIN_HOST_OS
	$(mkdir_p) $(DESTDIR)$(LAUNCHD_DIR)
	$(INSTALL_PROGRAM) glusterd.plist $(DESTDIR)$(LAUNCHD_DIR)/org.gluster.glusterd.plist
endif