Fix distcheck
This commit is contained in:
parent
33d9f3daca
commit
f8389c58f5
2 changed files with 21 additions and 2 deletions
|
@ -1,5 +1,19 @@
|
|||
|
||||
SUBDIRS = python ruby
|
||||
if HAVE_PYTHON
|
||||
python_subdirs = python
|
||||
else
|
||||
python_subdirs =
|
||||
endif
|
||||
|
||||
if HAVE_RUBY
|
||||
ruby_subdirs = ruby
|
||||
else
|
||||
ruby_subdirs =
|
||||
endif
|
||||
|
||||
DIST_SUBDIRS = python ruby
|
||||
|
||||
SUBDIRS = $(python_subdirs) $(ruby_subdirs)
|
||||
|
||||
EXTRA_DIST = comedi.i
|
||||
|
||||
|
|
|
@ -22,14 +22,19 @@ all-local:
|
|||
install-data-local:
|
||||
endif
|
||||
|
||||
ext/Makefile + config.save:
|
||||
ext/Makefile config.save:
|
||||
$(RUBY) $(srcdir)/setup.rb config $(RUBY_CONFIG_OPTIONS)
|
||||
|
||||
ext/comedi.so ext/comedi_ruby_wrap.o: ext/Makefile config.save $(srcdir)/ext/comedi_ruby_wrap.c
|
||||
$(RUBY) $(srcdir)/setup.rb setup
|
||||
|
||||
if HAVE_RUBY
|
||||
clean-local:
|
||||
$(RUBY) $(srcdir)/setup.rb clean
|
||||
|
||||
distclean-local:
|
||||
$(RUBY) $(srcdir)/setup.rb distclean
|
||||
else
|
||||
clean-local:
|
||||
distclean-local:
|
||||
endif
|
||||
|
|
Loading…
Add table
Reference in a new issue