summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-30 02:00:59 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-30 02:00:59 +0000
commit6c2849dd46f77c6bf898e071ba635de1b48652e2 (patch)
tree87bd6452b1f3a70752976b624bd2b505b8b2a50e /common.mk
parent7c1cab2a4f0322cfe37983ffb9ec620ad0b3002f (diff)
* configure.in: rm largefile.h.
* common.mk: clean golf, conf*, preludes, and so on. * enc/depend: silent and ignore error for rm. * enc/Makefile.in: should define prefix and exec_prefix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/common.mk b/common.mk
index 439da73db7..e6aa9ff126 100644
--- a/common.mk
+++ b/common.mk
@@ -304,7 +304,7 @@ clean: clean-ext clean-local clean-enc
clean-local::
@$(RM) $(OBJS) $(MINIOBJS) $(MAINOBJ) $(WINMAINOBJ) $(LIBRUBY_A) $(LIBRUBY_SO) $(LIBRUBY) $(LIBRUBY_ALIASES)
@$(RM) $(PROGRAM) $(WPROGRAM) miniruby$(EXEEXT) dmyext.$(OBJEXT) $(ARCHFILE) .*.time
- @$(RM) *.inc
+ @$(RM) *.inc $(GOLFOBJS)
clean-ext:
@-$(MINIRUBY) $(srcdir)/ext/extmk.rb $(EXTMK_ARGS) clean
clean-enc:
@@ -312,9 +312,10 @@ clean-enc:
distclean: distclean-ext distclean-local distclean-enc
distclean-local:: clean-local
- @$(RM) $(MKFILES) config.h rbconfig.rb
- @$(RM) config.cache config.log config.status
+ @$(RM) $(MKFILES) config.h rbconfig.rb yasmdata.rb
+ @$(RM) config.cache config.log config.status config.status.lineno $(PRELUDES)
@$(RM) *~ *.bak *.stackdump core *.core gmon.out y.tab.c y.output $(PREP)
+ @-$(RM) ext/ripper/y.output
distclean-ext:
@-$(MINIRUBY) $(srcdir)/ext/extmk.rb $(EXTMK_ARGS) distclean
# -$(RM) $(INSTALLED_LIST) $(arch_hdrdir)/ruby/config.h
@@ -324,7 +325,7 @@ distclean-enc: clean-enc
realclean:: realclean-ext realclean-local realclean-enc
realclean-local:: distclean-local
- @$(RM) parse.c lex.c
+ @$(RM) parse.c lex.c revision.h
realclean-ext::
@-$(MINIRUBY) $(srcdir)/ext/extmk.rb $(EXTMK_ARGS) realclean
realclean-enc:: distclean-enc
@@ -676,6 +677,7 @@ prereq: incs srcs preludes
preludes: {$(VPATH)}miniprelude.c
preludes: {$(srcdir)}golf_prelude.c
+PRELUDES = prelude.c miniprelude.c golf_prelude.c
docs:
$(BASERUBY) -I$(srcdir) $(srcdir)/tool/makedocs.rb $(INSNS2VMOPT)