Fix the failure with 'make dist' when we configure without python

This commit is contained in:
Shahram Najm 2013-09-30 16:57:34 +01:00
parent 4e97d036ee
commit 58baf8d7ab
2 changed files with 8 additions and 1 deletions

View File

@ -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 \

View File

@ -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