From 9a84e6a44b6360bd2d989a862de0772c383a70be Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Sun, 20 Jun 2004 03:36:33 +0000 Subject: [PATCH] use setup.rb for clean-local and distclean-local --- swig/ruby/Makefile.am | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 -- 2.26.2