mirror of https://github.com/ecmwf/eccodes.git
Fix the failure with 'make dist' when we configure without python
This commit is contained in:
parent
4e97d036ee
commit
58baf8d7ab
|
@ -22,7 +22,8 @@ else
|
|||
PYTHON_OPT =
|
||||
endif
|
||||
|
||||
SUBDIRS = src tools definitions samples ifs_samples/grib1 ifs_samples/grib1_mlgrib2 ifs_samples/grib1_mlgrib2_ieee64 tests mars_tests tigge $(FORTRAN_MOD) examples/C $(F90_CHECK) $(PERL_OPT) python examples/python
|
||||
SUBDIRS = src tools definitions samples ifs_samples/grib1 ifs_samples/grib1_mlgrib2 ifs_samples/grib1_mlgrib2_ieee64 \
|
||||
tests mars_tests tigge $(FORTRAN_MOD) examples/C $(F90_CHECK) $(PERL_OPT) $(PYTHON_OPT) examples/python
|
||||
|
||||
EXTRA_DIST = README AUTHORS NOTICE LICENSE ChangeLog version.sh html \
|
||||
src/extrules.am \
|
||||
|
|
|
@ -105,5 +105,11 @@ include $(DEVEL_RULES)
|
|||
|
||||
endif
|
||||
|
||||
else
|
||||
# Case when WITH_PYTHON is not defined. Must add this rule otherwise
|
||||
# make dist will fail
|
||||
gribapi_swig_wrap.c: swig_wrap_array.c
|
||||
cp -f swig_wrap_array.c gribapi_swig_wrap.c
|
||||
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue