diff --git a/Makefile.am b/Makefile.am index 7cfb5116..5cb90b87 100644 --- a/Makefile.am +++ b/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} || :; diff --git a/corosync.spec.in b/corosync.spec.in index a08c7a21..83f7438d 100644 --- a/corosync.spec.in +++ b/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