mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
install the readme in /usr/share/doc/ctdb/ instead of under /etc
(This used to be ctdb commit becce6a9a759730d0c675a56516bb0a32a54c9f3)
This commit is contained in:
parent
6bf597d061
commit
9ab368e3b2
@ -1,10 +1,12 @@
|
||||
#!gmake
|
||||
|
||||
|
||||
CC = @CC@
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
datarootdir = @datarootdir@
|
||||
includedir = @includedir@
|
||||
docdir = /usr/share/doc
|
||||
libdir = @libdir@
|
||||
bindir = @bindir@
|
||||
sbindir = @sbindir@
|
||||
@ -170,6 +172,7 @@ install: all
|
||||
mkdir -p $(DESTDIR)$(includedir)
|
||||
mkdir -p $(DESTDIR)$(etcdir)/ctdb
|
||||
mkdir -p $(DESTDIR)$(etcdir)/ctdb/events.d
|
||||
mkdir -p $(DESTDIR)$(docdir)/ctdb
|
||||
${INSTALLCMD} -m 755 bin/ctdb $(DESTDIR)$(bindir)
|
||||
${INSTALLCMD} -m 755 bin/ctdb_ipmux $(DESTDIR)$(bindir)
|
||||
${INSTALLCMD} -m 755 bin/ctdbd $(DESTDIR)$(sbindir)
|
||||
@ -178,7 +181,7 @@ install: all
|
||||
${INSTALLCMD} -m 644 include/ctdb_private.h $(DESTDIR)$(includedir) # for samba3
|
||||
${INSTALLCMD} -m 644 config/functions $(DESTDIR)$(etcdir)/ctdb
|
||||
${INSTALLCMD} -m 755 config/statd-callout $(DESTDIR)$(etcdir)/ctdb
|
||||
${INSTALLCMD} -m 644 config/events.d/README $(DESTDIR)$(etcdir)/ctdb/events.d
|
||||
${INSTALLCMD} -m 644 config/events.d/README $(DESTDIR)/$(docdir)/ctdb/README.eventscripts
|
||||
${INSTALLCMD} -m 755 config/events.d/00.ctdb $(DESTDIR)$(etcdir)/ctdb/events.d
|
||||
${INSTALLCMD} -m 755 config/events.d/10.interface $(DESTDIR)$(etcdir)/ctdb/events.d
|
||||
${INSTALLCMD} -m 755 config/events.d/40.vsftpd $(DESTDIR)$(etcdir)/ctdb/events.d
|
||||
|
@ -93,7 +93,7 @@ fi
|
||||
%config(noreplace) %{_sysconfdir}/ctdb/functions
|
||||
%attr(755,root,root) %{initdir}/ctdb
|
||||
|
||||
%{_sysconfdir}/ctdb/events.d/README
|
||||
%{_docdir}/ctdb/README.eventscripts
|
||||
%{_sysconfdir}/ctdb/events.d/00.ctdb
|
||||
%{_sysconfdir}/ctdb/events.d/10.interface
|
||||
%{_sysconfdir}/ctdb/events.d/40.vsftpd
|
||||
|
Loading…
Reference in New Issue
Block a user