summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-09-19 13:10:25 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-09-19 13:10:25 +0000
commit4a028d2c7ea9c00fef49844127fffaa6d8ed6ec0 (patch)
tree454d91e4697d424eb05c987d5fe24b9a4d8e7bcb /Makefile.in
parente8291588c992571af4fc545f14da75cfd910c92a (diff)
* common.mk (clean): removes all documents on cleaning.o
(CAPIOUT): new variable. (clean-capi, distclean-capi, realclean-capi): new targets * Makefile.in (clean-capi, distclean-capi, realclean-capi): ditto. * win32/Makefile.sub (clean-capi, distclean-capi, realclean-capi): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in11
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index 08234a343d..dec77c924b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -255,9 +255,6 @@ distclean-local::
@-$(RM) $(INSTALLED_LIST) $(arch_hdrdir)/ruby/config.h
@-$(RMDIRS) $(arch_hdrdir)/ruby 2> /dev/null || true
-distclean-rdoc:
- @$(RMALL) $(RDOCOUT:/=\)
-
clean-ext distclean-ext realclean-ext::
@cd ext 2>/dev/null || exit 0; set dummy `echo "${EXTS}" | tr , ' '`; shift; \
test "$$#" = 0 && set .; \
@@ -285,6 +282,14 @@ clean-enc distclean-enc realclean-enc:
echo $(@:-enc=ing) encodings; \
exec $(MAKE) -f $(ENC_MK) $(MFLAGS) $(@:-enc=)
+clean-rdoc distclean-rdoc realclean-rdoc:
+ @echo $(@:-rdoc=ing) rdoc; \
+ $(RMALL) $(RDOCOUT:/=\)
+clean-capi distclean-capi realclean-capi:
+ @echo $(@:-capi=ing) capi; \
+ $(RMALL) $(CAPIOUT:/=\)
+
+
ext/extinit.$(OBJEXT): ext/extinit.c $(SETUP)
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -c ext/extinit.c