Ver código fonte

r2556 | fabbione | 2009-11-30 13:18:48 -0700 (Mon, 30 Nov 2009) | 3 lines

Expose service.d config directory



git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2611 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake 16 anos atrás
pai
commit
a51b094738
2 arquivos alterados com 3 adições e 0 exclusões
  1. 2 0
      Makefile.am
  2. 1 0
      corosync.spec.in

+ 2 - 0
Makefile.am

@@ -52,11 +52,13 @@ SUBDIRS			= include lcr lib exec services tools test pkgconfig \
 			  man init
 
 install-exec-local:
+	$(INSTALL) -d $(DESTDIR)/${COROSYSCONFDIR}/service.d
 	$(INSTALL) -d $(DESTDIR)/${COROSYSCONFDIR}/uidgid.d
 	$(INSTALL) -d $(DESTDIR)/${localstatedir}/lib/corosync
 	$(INSTALL) -d $(DESTDIR)/${SOCKETDIR}
 
 uninstall-local:
+	rmdir $(DESTDIR)/${COROSYSCONFDIR}/service.d || :;
 	rmdir $(DESTDIR)/${COROSYSCONFDIR}/uidgid.d || :;
 	rmdir $(DESTDIR)/${localstatedir}/lib/corosync || :;
 	rmdir $(DESTDIR)/${SOCKETDIR} || :;

+ 1 - 0
corosync.spec.in

@@ -88,6 +88,7 @@ fi
 %{_sbindir}/corosync-cpgtool
 %{_sbindir}/corosync-quorumtool
 %dir %{_sysconfdir}/corosync
+%dir %{_sysconfdir}/corosync/service.d
 %dir %{_sysconfdir}/corosync/uidgid.d
 %config(noreplace) %{_sysconfdir}/corosync/corosync.conf.example
 %{_initddir}/corosync