From b955bd6b11adf7f2f51dbde284d2f5a5297648d2 Mon Sep 17 00:00:00 2001 From: paulatto Date: Thu, 11 Dec 2014 10:15:07 +0000 Subject: [PATCH] Copying QE with "scp -r" causes the link $espresso/iotk -> $espresso/S3DE/iotk to become a directory. Issuing "make clean" only cleans $espresso/S3DE/iotk, while pw is linked to $espresso/iotk/ which causes every kind of problems. I have added 2 lines to delete $espresso/iotk/ if it is a directory, the link will be recreated anyway when doing "make pw". LP git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11290 c92efa57-630b-4861-b058-cf58834340f0 --- install/extlibs_makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install/extlibs_makefile b/install/extlibs_makefile index 4ec58ca9c..3bfada83c 100644 --- a/install/extlibs_makefile +++ b/install/extlibs_makefile @@ -97,6 +97,7 @@ elpa_veryclean: if test -d ../ELPA; then (rm -R -f ../ELPA); fi iotk_clean: if test -d ../S3DE; then (cd ../S3DE; $(MAKE) clean); fi + if test -d ../iotk; then (rm -R -f ../iotk); fi if test -e ../S3DE/iotk/src/iotk.x; then \ rm -f ../S3DE/iotk/src/iotk.x; fi (rm -f ../bin/iotk; \ @@ -104,6 +105,7 @@ iotk_clean: rm -f ../bin/iotk_print_kinds.x) iotk_veryclean: if test -d ../S3DE; then (rm -R -f ../S3DE); fi + if test -d ../iotk; then (rm -R -f ../iotk); fi if test -e ../S3DE/iotk/src/iotk.x; then (rm -f ../S3DE/iotk/src/iotk.x); fi rm -f ../bin/iotk; \ rm -f ../bin/iotk.x; \