mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/mkmf.rb: Avoid the use of "clean::" in favor of "clean:" in
order not to let make(1) choke if there is another dependency on the target added in a depend file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
06a9732674
commit
5d6af6910d
2 changed files with 13 additions and 8 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
Thu Nov 28 12:08:30 2002 Akinori MUSHA <knu@iDaemons.org>
|
||||||
|
|
||||||
|
* lib/mkmf.rb: Avoid the use of "clean::" in favor of "clean:" in
|
||||||
|
order not to let make(1) choke if there is another dependency on
|
||||||
|
the target added in a depend file.
|
||||||
|
|
||||||
Thu Nov 28 02:40:42 2002 Akinori MUSHA <knu@iDaemons.org>
|
Thu Nov 28 02:40:42 2002 Akinori MUSHA <knu@iDaemons.org>
|
||||||
|
|
||||||
* lib/mkmf.rb: Make sure to dig the destination directory before
|
* lib/mkmf.rb: Make sure to dig the destination directory before
|
||||||
|
|
15
lib/mkmf.rb
15
lib/mkmf.rb
|
@ -686,11 +686,10 @@ RUBYARCHDIR = $(sitearchdir)$(target_prefix)
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
mfile.print %{
|
mfile.print %{
|
||||||
all: $(DLLIB)
|
CLEANLIBS = "$(TARGET).{lib,exp,il?,tds,map}" $(DLLIB)
|
||||||
|
CLEANOBJS = "*.{#{$OBJEXT},#{$LIBEXT},s[ol],pdb,bak}"
|
||||||
|
|
||||||
clean::
|
all: $(DLLIB)
|
||||||
@$(RM) "$(TARGET).{lib,exp,il?,tds,map}" $(DLLIB)
|
|
||||||
@$(RM) "*.{#{$OBJEXT},#{$LIBEXT},s[ol],pdb,bak}"
|
|
||||||
}
|
}
|
||||||
mfile.print CLEANINGS
|
mfile.print CLEANINGS
|
||||||
dirs = []
|
dirs = []
|
||||||
|
@ -848,12 +847,12 @@ LIBPATHFLAG = config_string('LIBPATHFLAG') || ' -L%s'
|
||||||
LIBARG = config_string('LIBARG') || '-l%s'
|
LIBARG = config_string('LIBARG') || '-l%s'
|
||||||
|
|
||||||
CLEANINGS = "
|
CLEANINGS = "
|
||||||
clean::
|
clean:
|
||||||
@$(RM) $(CLEANFILES)
|
@$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES)
|
||||||
|
|
||||||
distclean:: clean
|
distclean: clean
|
||||||
@$(RM) Makefile extconf.h conftest.* mkmf.log
|
@$(RM) Makefile extconf.h conftest.* mkmf.log
|
||||||
@$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
|
@$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
|
||||||
|
|
||||||
realclean:: distclean
|
realclean: distclean
|
||||||
"
|
"
|
||||||
|
|
Loading…
Reference in a new issue