Better usage of PREFIX, upon suggestion by Nick Thompson

git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12746 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
giannozz 2016-08-16 12:35:38 +00:00
parent f37721ba5f
commit 535580646f
1 changed files with 3 additions and 3 deletions

View File

@ -253,11 +253,11 @@ links : bindir
#########################################################
install : touch-dummy
@if test -d bin ; then mkdir -p $(PREFIX) ; \
@if test -d bin ; then mkdir -p $(PREFIX)/bin ; \
for x in `find . -path ./test-suite -prune -o -name *.x -type f` ; do \
cp $$x $(PREFIX)/ ; done ; \
cp $$x $(PREFIX)/bin/ ; done ; \
fi
@echo 'Quantum ESPRESSO binaries installed in $(PREFIX)'
@echo 'Quantum ESPRESSO binaries installed in $(PREFIX)/bin'
#########################################################
# Run test-suite for numerical regression testing