summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-29 00:36:24 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-29 00:36:24 +0000
commitb2eb38fac5a0e5a8360d8d9d1e57287dcde04ba6 (patch)
treeb3ce440b658e7bf249e9dc37f97b27e8d9a8cc65 /common.mk
parent1e5f5c8b5017d272bff9ba90a1799673c2bf6c13 (diff)
* common.mk (clean): exclude *.inc. [ruby-dev:41931]
* common.mk (distclean): include *.inc. * common.mk (help): change description about clean and distclean. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/common.mk b/common.mk
index 315b6c8db8..cd04851b0e 100644
--- a/common.mk
+++ b/common.mk
@@ -374,7 +374,7 @@ clean: clean-ext clean-local clean-enc clean-golf clean-rdoc clean-extout
clean-local:: PHONY
@$(RM) $(OBJS) $(MINIOBJS) $(MAINOBJ) $(LIBRUBY_A) $(LIBRUBY_SO) $(LIBRUBY) $(LIBRUBY_ALIASES)
@$(RM) $(PROGRAM) $(WPROGRAM) miniruby$(EXEEXT) dmyext.$(OBJEXT) $(ARCHFILE) .*.time
- @$(RM) *.inc y.tab.c y.output encdb.h transdb.h prelude.c config.log rbconfig.rb
+ @$(RM) y.tab.c y.output encdb.h transdb.h prelude.c config.log rbconfig.rb
clean-ext:: PHONY
clean-golf: PHONY
@$(RM) $(GORUBY)$(EXEEXT) $(GOLFOBJS)
@@ -383,7 +383,7 @@ clean-extout: PHONY
distclean: distclean-ext distclean-local distclean-enc distclean-golf distclean-extout
distclean-local:: clean-local
- @$(RM) $(MKFILES) yasmdata.rb
+ @$(RM) $(MKFILES) yasmdata.rb *.inc
@$(RM) config.cache config.status config.status.lineno $(PRELUDES)
@$(RM) *~ *.bak *.stackdump core *.core gmon.out $(PREP)
distclean-ext:: PHONY
@@ -851,7 +851,8 @@ help: PHONY
@echo " benchmark benchmark this ruby and COMPARE_RUBY"
@echo " install: install all ruby distributions"
@echo " install-nodoc: install without rdoc"
- @echo " clean: clean built objects"
+ @echo " clean: clean for tarball"
+ @echo " distclean: clean for repo"
@echo " change: make change log template"
@echo " golf: for golfers"
@echo ""