Protective if

git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13046 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
spigafi 2016-10-01 13:46:12 +00:00
parent 770a04defa
commit 0b71c41c4e
1 changed files with 6 additions and 3 deletions

View File

@ -11,11 +11,14 @@ clean : examples_clean
( cd src ; $(MAKE) clean )
examples_clean:
( cd examples ; ./make_clean )
( cd pseudo_library ; ./make_clean )
if test -d examples ; then \
( cd examples ; ./make_clean ) ; fi
if test -d pseudo_library ; then \
( cd pseudo_library ; ./make_clean) ; fi
doc:
( cd Doc ; $(MAKE) all || exit 1 )
doc_clean:
( cd Doc ; $(MAKE) clean )