142660Smarkm# 2116525Sru# Copyright (C) 2004 Red Hat, Inc. All rights reserved. 342660Smarkm# 442660Smarkm# This file is part of LVM2. 5100513Sru# 6100513Sru# This copyrighted material is made available to anyone wishing to use, 7100513Sru# modify, copy, or redistribute it subject to the terms and conditions 8100513Sru# of the GNU General Public License v.2. 9100513Sru# 1042660Smarkm# You should have received a copy of the GNU General Public License 1142660Smarkm# along with this program; if not, write to the Free Software Foundation, 12100513Sru# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 13100513Sru 14100513Srusrcdir = @srcdir@ 15100513Srutop_srcdir = @top_srcdir@ 1656160Srutop_builddir = @top_builddir@ 17116525SruVPATH = @srcdir@ 18100513Sru 19100513SruCONFSRC=example.conf 20100513SruCONFDEST=lvm.conf 21100513Sru 22100513Sruinclude ../make.tmpl 23100513Sru 24100513Sruinstall_lvm2: $(CONFSRC) 25100513Sru @if [ ! -e $(confdir)/$(CONFDEST) ]; then \ 26100513Sru echo "Installing $(CONFSRC) as $(confdir)/$(CONFDEST)"; \ 27100513Sru @INSTALL@ -D $(OWNER) $(GROUP) -m 644 $< \ 28100513Sru $(confdir)/$(CONFDEST); \ 29100513Sru fi 30100513Sru 31100513Sruinstall: install_lvm2 32100513Sru