Commit 0dadd203 authored by Lorenz Huedepohl's avatar Lorenz Huedepohl

Fix cleaning

config-f90.h should not be delete by make clean, as it is created by
configure, not by the build processes.
Also, better keep the directories modules/ and .fortran_dependencies/
and only delete their contents.
parent 70c71e64
...@@ -276,11 +276,13 @@ CLEANFILES = \ ...@@ -276,11 +276,13 @@ CLEANFILES = \
elpa2_test_real_choose_kernel_with_api.sh \ elpa2_test_real_choose_kernel_with_api.sh \
elpa2_test_complex_choose_kernel_with_api.sh \ elpa2_test_complex_choose_kernel_with_api.sh \
elpa2_print_kernels.sh \ elpa2_print_kernels.sh \
*.i \ *.i
config-f90.h
clean-local: clean-local:
-rm -rf modules .fortran_dependencies -rm -rf modules/* .fortran_dependencies/*
distclean-local:
-rm config-f90.h
EXTRA_DIST = fdep/fortran_dependencies.pl fdep/fortran_dependencies.mk EXTRA_DIST = fdep/fortran_dependencies.pl fdep/fortran_dependencies.mk
......
...@@ -878,8 +878,7 @@ CLEANFILES = \ ...@@ -878,8 +878,7 @@ CLEANFILES = \
elpa2_test_real_choose_kernel_with_api.sh \ elpa2_test_real_choose_kernel_with_api.sh \
elpa2_test_complex_choose_kernel_with_api.sh \ elpa2_test_complex_choose_kernel_with_api.sh \
elpa2_print_kernels.sh \ elpa2_print_kernels.sh \
*.i \ *.i
config-f90.h
EXTRA_DIST = fdep/fortran_dependencies.pl fdep/fortran_dependencies.mk EXTRA_DIST = fdep/fortran_dependencies.pl fdep/fortran_dependencies.mk
all: config.h all: config.h
...@@ -1832,7 +1831,7 @@ distclean: distclean-am ...@@ -1832,7 +1831,7 @@ distclean: distclean-am
-rm -rf src/elpa2_kernels/$(DEPDIR) -rm -rf src/elpa2_kernels/$(DEPDIR)
-rm -f Makefile -rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \ distclean-am: clean-am distclean-compile distclean-generic \
distclean-hdr distclean-libtool distclean-tags distclean-hdr distclean-libtool distclean-local distclean-tags
dvi: dvi-am dvi: dvi-am
...@@ -1907,13 +1906,13 @@ uninstall-am: uninstall-binPROGRAMS uninstall-dist_docDATA \ ...@@ -1907,13 +1906,13 @@ uninstall-am: uninstall-binPROGRAMS uninstall-dist_docDATA \
cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \ dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
distcheck distclean distclean-compile distclean-generic \ distcheck distclean distclean-compile distclean-generic \
distclean-hdr distclean-libtool distclean-tags distcleancheck \ distclean-hdr distclean-libtool distclean-local distclean-tags \
distdir distuninstallcheck dvi dvi-am html html-am info \ distcleancheck distdir distuninstallcheck dvi dvi-am html \
info-am install install-am install-binPROGRAMS install-data \ html-am info info-am install install-am install-binPROGRAMS \
install-data-am install-dist_docDATA install-dist_filesDATA \ install-data install-data-am install-dist_docDATA \
install-dvi install-dvi-am install-exec install-exec-am \ install-dist_filesDATA install-dvi install-dvi-am install-exec \
install-html install-html-am install-info install-info-am \ install-exec-am install-html install-html-am install-info \
install-libLTLIBRARIES install-man \ install-info-am install-libLTLIBRARIES install-man \
install-nobase_elpa_includeHEADERS install-pdf install-pdf-am \ install-nobase_elpa_includeHEADERS install-pdf install-pdf-am \
install-pkgconfigDATA install-ps install-ps-am install-strip \ install-pkgconfigDATA install-ps install-ps-am install-strip \
installcheck installcheck-am installdirs maintainer-clean \ installcheck installcheck-am installdirs maintainer-clean \
...@@ -1964,7 +1963,10 @@ elpa1.i: $(top_srcdir)/src/elpa1.F90 ...@@ -1964,7 +1963,10 @@ elpa1.i: $(top_srcdir)/src/elpa1.F90
$(CPP) $(CPPFLAGS) -I$(top_builddir)/ -c $(top_srcdir)/src/elpa1.F90 -o $@ $(CPP) $(CPPFLAGS) -I$(top_builddir)/ -c $(top_srcdir)/src/elpa1.F90 -o $@
clean-local: clean-local:
-rm -rf modules .fortran_dependencies -rm -rf modules/* .fortran_dependencies/*
distclean-local:
-rm config-f90.h
@FORTRAN_MODULE_DEPS@ @FORTRAN_MODULE_DEPS@
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment