specfile name change and man page install Makefile.in fixes [Milan]
This commit is contained in:
parent
7a3aafddcc
commit
d16ae4ed95
@ -41,6 +41,7 @@ LIBS=-lstdc++
|
|||||||
INSTALL=@INSTALL@
|
INSTALL=@INSTALL@
|
||||||
DESTDIR=@prefix@
|
DESTDIR=@prefix@
|
||||||
BINDIR=$(DESTDIR)/sbin
|
BINDIR=$(DESTDIR)/sbin
|
||||||
|
MANPATH=$(DESTDIR)$(MANDIR)
|
||||||
|
|
||||||
.PHONEY: test-programs
|
.PHONEY: test-programs
|
||||||
|
|
||||||
@ -94,7 +95,9 @@ install: $(PROGRAMS)
|
|||||||
$(INSTALL) -m 755 -D thin_repair $(BINDIR)/thin_repair
|
$(INSTALL) -m 755 -D thin_repair $(BINDIR)/thin_repair
|
||||||
$(INSTALL) -m 755 -D thin_dump $(BINDIR)/thin_dump
|
$(INSTALL) -m 755 -D thin_dump $(BINDIR)/thin_dump
|
||||||
$(INSTALL) -m 755 -D thin_restore $(BINDIR)/thin_restore
|
$(INSTALL) -m 755 -D thin_restore $(BINDIR)/thin_restore
|
||||||
$(INSTALL) -m 644 man8/* $(MANDIR)/man8
|
$(INSTALL) -m 644 -D man8/thin_repair.8 $(MANPATH)/man8/thin_repair.8
|
||||||
|
$(INSTALL) -m 644 -D man8/thin_dump.8 $(MANPATH)/man8/thin_dump.8
|
||||||
|
$(INSTALL) -m 644 -D man8/thin_restore.8 $(MANPATH)/man8/thin_restore.8
|
||||||
|
|
||||||
-include $(subst .cc,.d,$(SOURCE))
|
-include $(subst .cc,.d,$(SOURCE))
|
||||||
-include $(subst .cc,.d,$(TEST_SOURCE))
|
-include $(subst .cc,.d,$(TEST_SOURCE))
|
||||||
|
@ -24,7 +24,7 @@ manage device-mapper thin provisioning target metadata devices.
|
|||||||
%configure --enable-debug --enable-testing
|
%configure --enable-debug --enable-testing
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install
|
make DESTDIR=%{buildroot} MANDIR=%{_mandir} install
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
|
|
@ -16,6 +16,7 @@ mkdir $dir
|
|||||||
git clone . $dir
|
git clone . $dir
|
||||||
cd $dir
|
cd $dir
|
||||||
git checkout $tag
|
git checkout $tag
|
||||||
|
autoreconf
|
||||||
rm -rf .git
|
rm -rf .git
|
||||||
cd $tmp
|
cd $tmp
|
||||||
tar jcvf $orig_dir/thin-provisioning-tools-$tag.tar.bz2 thin-provisioning-tools-$tag
|
tar jcvf $orig_dir/thin-provisioning-tools-$tag.tar.bz2 thin-provisioning-tools-$tag
|
||||||
|
Loading…
Reference in New Issue
Block a user