Move manunal pages install into Makefile.in
This commit is contained in:
parent
304f2e8406
commit
504f577240
@ -39,7 +39,6 @@ CXXFLAGS+=@CXXOPTIMISE_FLAG@
|
|||||||
CXXFLAGS+=@CXXDEBUG_FLAG@
|
CXXFLAGS+=@CXXDEBUG_FLAG@
|
||||||
LIBS=-lstdc++
|
LIBS=-lstdc++
|
||||||
INSTALL=@INSTALL@
|
INSTALL=@INSTALL@
|
||||||
INSTALL_PROGRAM=$(INSTALL) -m 755
|
|
||||||
DESTDIR=@prefix@
|
DESTDIR=@prefix@
|
||||||
BINDIR=$(DESTDIR)/sbin
|
BINDIR=$(DESTDIR)/sbin
|
||||||
|
|
||||||
@ -92,9 +91,10 @@ clean:
|
|||||||
|
|
||||||
.PHONEY: install
|
.PHONEY: install
|
||||||
install: $(PROGRAMS)
|
install: $(PROGRAMS)
|
||||||
$(INSTALL_PROGRAM) -D thin_repair $(BINDIR)/thin_repair
|
$(INSTALL) -m 755 -D thin_repair $(BINDIR)/thin_repair
|
||||||
$(INSTALL_PROGRAM) -D thin_dump $(BINDIR)/thin_dump
|
$(INSTALL) -m 755 -D thin_dump $(BINDIR)/thin_dump
|
||||||
$(INSTALL_PROGRAM) -D thin_restore $(BINDIR)/thin_restore
|
$(INSTALL) -m 755 -D thin_restore $(BINDIR)/thin_restore
|
||||||
|
$(INSTALL) -m 644 man8/* $(MANDIR)/man8
|
||||||
|
|
||||||
-include $(subst .cc,.d,$(SOURCE))
|
-include $(subst .cc,.d,$(SOURCE))
|
||||||
-include $(subst .cc,.d,$(TEST_SOURCE))
|
-include $(subst .cc,.d,$(TEST_SOURCE))
|
||||||
|
@ -25,8 +25,6 @@ manage device-mapper thin provisioning target metadata devices.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install
|
make DESTDIR=%{buildroot} install
|
||||||
mkdir -p %{buildroot}%{_mandir}/man8/
|
|
||||||
install -c -m644 man8/* %{buildroot}%{_mandir}/man8/
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user