Signed-off-by: Kefu Chai <kchai@redhat.com>
# "make distclean" both runs this and recurses into src/gtest, if
# gtest is in DIST_SUBDIRS. Take extra care to not fail when
# effectively cleaned twice.
-clean-local:
+clean-local::
@if test -e src/gmock/Makefile; then \
echo "Making clean in src/gmock"; \
cd src/gmock && $(MAKE) $(AM_MAKEFLAGS) clean; \
${SPHINX_BUILD} -b man -d doctrees -c $(top_srcdir)/man $(top_srcdir)/doc/man $(top_builddir)/man; \
fi
-clean-local:
+clean-local::
@rm -rf doctrees
MAINTAINERCLEANFILES = $(dist_man_MANS)
if ENABLE_SERVER
if WITH_SELINUX
-all-local: ceph.pp
+all-local:: ceph.pp
-install-exec-local:
+install-exec-local::
$(INSTALL) -d $(SELINUXROOT)/packages
$(INSTALL) -m 644 ceph.pp $(SELINUXROOT)/packages/
$(INSTALL) -d $(SELINUXROOT)/devel/include/contrib
# local targets
-all-local: $(LOCAL_ALL)
-clean-local: $(LOCAL_CLEAN)
-install-exec-local: $(LOCAL_INSTALLEXEC)
-install-data-local: $(LOCAL_INSTALLDATA)
+all-local:: $(LOCAL_ALL)
+clean-local:: $(LOCAL_CLEAN)
+install-exec-local:: $(LOCAL_INSTALLEXEC)
+install-data-local:: $(LOCAL_INSTALLDATA)