Skip to content

Commit

Permalink
automake: use :: rule for adding target
Browse files Browse the repository at this point in the history
Signed-off-by: Kefu Chai <[email protected]>
  • Loading branch information
tchaikov committed May 3, 2016
1 parent ffce4c5 commit 788bbb5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ check_SCRIPTS = \
# "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; \
Expand Down
2 changes: 1 addition & 1 deletion man/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ sphinx-build.stamp:
${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)
Expand Down
4 changes: 2 additions & 2 deletions selinux/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ ceph.pp: ceph.te ceph.fc ceph.if

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
Expand Down
8 changes: 4 additions & 4 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ endif

# 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)

0 comments on commit 788bbb5

Please sign in to comment.