From: Frank Mori Hess Date: Sun, 20 Jun 2004 03:36:33 +0000 (+0000) Subject: use setup.rb for clean-local and distclean-local X-Git-Tag: r0_7_22~28 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9a84e6a44b6360bd2d989a862de0772c383a70be;p=comedilib.git use setup.rb for clean-local and distclean-local --- diff --git a/swig/ruby/Makefile.am b/swig/ruby/Makefile.am index ea5a725..be1b6dd 100644 --- a/swig/ruby/Makefile.am +++ b/swig/ruby/Makefile.am @@ -22,12 +22,14 @@ all-local: install-data-local: endif -ext/Makefile: +ext/Makefile + config.save: $(RUBY) $(srcdir)/setup.rb config $(RUBY_CONFIG_OPTIONS) -ext/comedi.so ext/comedi_ruby_wrap.o: ext/Makefile $(srcdir)/ext/comedi_ruby_wrap.c +ext/comedi.so ext/comedi_ruby_wrap.o: ext/Makefile config.save $(srcdir)/ext/comedi_ruby_wrap.c $(RUBY) $(srcdir)/setup.rb setup clean-local: - $(RM) ext/comedi.so ext/Makefile ext/*.o + $(RUBY) $(srcdir)/setup.rb clean +distclean-local: + $(RUBY) $(srcdir)/setup.rb distclean