File: Makefile.am

package info (click to toggle)
pcs 0.12.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,148 kB
  • sloc: python: 238,810; xml: 20,833; ruby: 13,203; makefile: 1,595; sh: 484
file content (92 lines) | stat: -rw-r--r-- 2,244 bytes parent folder | download | duplicates (2)
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
EXTRA_DIST		= \
			  pam/pcsd.debian \
			  pam/pcsd.fedora \
			  pam/pcsd.opencloudos \
			  test/cib1.xml \
			  test/corosync.conf \
			  test/crm1.xml \
			  test/crm2.xml \
			  test/crm2_new_roles.xml \
			  test/known-hosts \
			  test/pcsd_test_utils.rb \
			  test/pcs_settings.conf \
			  test/test_all_suite.rb \
			  test/test_cfgsync.rb \
			  test/test_cluster_entity.rb \
			  test/test_cluster.rb \
			  test/test_config.rb \
			  test/test_corosyncconf.rb \
			  test/test_pcs.rb \
			  test/test_permissions.rb \
			  test/test_resource.rb

MAINTAINERCLEANFILES	= Makefile.in

# install
man8_MANS		= pcsd.8

defconfigdir		= $(CONF_DIR)
dist_defconfig_DATA	= conf/pcsd

logrotatedir		= $(sysconfdir)/logrotate.d
logrotate_DATA		= logrotate/pcsd

servicedir		= $(SYSTEMD_UNIT_DIR)
service_DATA		= pcsd.service pcsd-ruby.service

pcsddir			= $(LIB_DIR)/pcsd
pcsd_SCRIPTS		= \
			  pcsd \
			  pcsd-cli.rb

dist_pcsd_DATA		= \
			  auth.rb \
			  bootstrap.rb \
			  capabilities.rng \
			  capabilities.xml \
			  cfgsync.rb \
			  cluster_entity.rb \
			  cluster.rb \
			  config.rb \
			  corosyncconf.rb \
			  pcsd_action_command.rb \
			  pcsd-cli-main.rb \
			  pcsd_exchange_format.rb \
			  pcsd_file.rb \
			  pcsd.rb \
			  pcsd_remove_file.rb \
			  pcs.rb \
			  permissions.rb \
			  remote.rb \
			  resource.rb \
			  rserver.rb

pcsd_DATA		= \
			  settings.rb

pcsdpubdir		= ${PCSD_PUBLIC_DIR}
dist_pcsdpub_DATA	= \
			  public/ui_instructions.html

clean-local:
	rm -f test/*.tmp

install-data-local:
	$(MKDIR_P) $(DESTDIR)/$(sysconfdir)/pam.d
	$(INSTALL_DATA) $(srcdir)/pam/pcsd.$(DISTROEXT) $(DESTDIR)/$(sysconfdir)/pam.d/pcsd
if INSTALL_EMBEDDED_GEMS
	$(MKDIR_P) $(DESTDIR)${GEM_HOME}
	cp -rp ../${PCSD_BUNDLED_DIR_ROOT_LOCAL}/* $(DESTDIR)${GEM_HOME}
	rm -rf $(DESTDIR)${GEM_HOME}/cache
endif
	$(MKDIR_P) -m 0700 $(DESTDIR)$(localstatedir)/log/pcsd
	$(MKDIR_P) -m 0700 $(DESTDIR)$(localstatedir)/lib/pcsd

uninstall-local:
	rm -rf $(DESTDIR)/$(sysconfdir)/pam.d/pcsd
	rmdir $(DESTDIR)/$(sysconfdir)/pam.d 2>/dev/null || :
if INSTALL_EMBEDDED_GEMS
	rm -rf $(DESTDIR)/${GEM_HOME}
endif
	rmdir $(DESTDIR)/$(localstatedir)/log/pcsd 2>/dev/null || :
	rmdir $(DESTDIR)/$(localstatedir)/lib/pcsd 2>/dev/null || :