~ubuntu-branches/ubuntu/vivid/lvm2/vivid

« back to all changes in this revision

Viewing changes to scripts/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Bastian Blank
  • Date: 2012-05-01 20:27:50 UTC
  • mto: (3.1.23 sid)
  • mto: This revision was merged to the branch mainline in revision 72.
  • Revision ID: package-import@ubuntu.com-20120501202750-gljjjtblowwq9mw8
Tags: upstream-2.02.95
ImportĀ upstreamĀ versionĀ 2.02.95

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#
2
 
# Copyright (C) 2006-2010 Red Hat, Inc. All rights reserved.
 
2
# Copyright (C) 2006-2011 Red Hat, Inc. All rights reserved.
3
3
#
4
4
# This file is part of LVM2.
5
5
#
28
28
endif
29
29
 
30
30
vpath %.sh $(srcdir)
 
31
vpath %.ocf $(srcdir)
31
32
 
32
33
%_install: %.sh
33
34
        $(INSTALL_PROGRAM) -D $< $(sbindir)/$(basename $(<F))
45
46
# FIXME Customise for other distributions
46
47
install_initscripts:
47
48
        $(INSTALL_DIR) $(initdir)
 
49
ifeq ("@BUILD_DMEVENTD@", "yes")
48
50
        $(INSTALL_SCRIPT) lvm2_monitoring_init_red_hat $(initdir)/lvm2-monitor
 
51
endif
 
52
ifeq ("@BUILD_LVMETAD@", "yes")
 
53
        $(INSTALL_SCRIPT) lvm2_lvmetad_init_red_hat $(initdir)/lvm2-lvmetad
 
54
endif
49
55
ifneq ("@CLVMD@", "none")
50
56
        $(INSTALL_SCRIPT) clvmd_init_red_hat $(initdir)/clvmd
51
57
endif
55
61
 
56
62
install_systemd_units:
57
63
        $(INSTALL_DIR) $(systemd_dir)
 
64
ifeq ("@BUILD_DMEVENTD@", "yes")
58
65
        $(INSTALL_DATA) dm_event_systemd_red_hat.socket $(systemd_dir)/dm-event.socket
59
66
        $(INSTALL_DATA) dm_event_systemd_red_hat.service $(systemd_dir)/dm-event.service
60
67
        $(INSTALL_DATA) lvm2_monitoring_systemd_red_hat.service $(systemd_dir)/lvm2-monitor.service
 
68
endif
 
69
ifeq ("@BUILD_LVMETAD@", "yes")
 
70
        $(INSTALL_DATA) lvm2_lvmetad_systemd_red_hat.socket $(systemd_dir)/lvm2-lvmetad.socket
 
71
        $(INSTALL_DATA) lvm2_lvmetad_systemd_red_hat.service $(systemd_dir)/lvm2-lvmetad.service
 
72
endif
 
73
 
 
74
install_tmpfiles_configuration:
 
75
        $(INSTALL_DIR) $(tmpfiles_dir)
 
76
        $(INSTALL_DATA) lvm2_tmpfiles_red_hat.conf $(tmpfiles_dir)/lvm2.conf
61
77
 
62
78
DISTCLEAN_TARGETS += clvmd_init_red_hat cmirrord_init_red_hat lvm2_monitoring_init_red_hat \
63
 
                     dm_event_systemd_red_hat.service lvm2_monitoring_systemd_red_hat.service
 
79
                     dm_event_systemd_red_hat.service lvm2_monitoring_systemd_red_hat.service \
 
80
                     lvm2_lvmetad_systemd_red_hat.socket lvm2_lvmetad_systemd_red_hat.service \
 
81
                     lvm2_lvmetad_init_red_hat lvm2_tmpfiles_red_hat.conf