xref: /dragonfly/contrib/lvm2/dist/scripts/Makefile (revision c37c9ab3)
1#
2# Copyright (C) 2006 Red Hat, Inc. All rights reserved.
3#
4# This file is part of LVM2.
5#
6# This copyrighted material is made available to anyone wishing to use,
7# modify, copy, or redistribute it subject to the terms and conditions
8# of the GNU General Public License v.2.
9#
10# You should have received a copy of the GNU General Public License
11# along with this program; if not, write to the Free Software Foundation,
12# Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
13
14srcdir = .
15top_srcdir = ..
16top_builddir = ..
17
18
19include ../make.tmpl
20
21install:
22	$(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(srcdir)/lvm_dump.sh \
23		$(sbindir)/lvmdump
24	$(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(srcdir)/vgimportclone.sh \
25		$(sbindir)/vgimportclone
26ifeq ("", "yes")
27	$(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(srcdir)/fsadm.sh \
28		$(sbindir)/fsadm
29endif
30
31install_lvm2: install
32
33DISTCLEAN_TARGETS += clvmd_init_red_hat lvm2_monitoring_init_red_hat
34