Skip to content
Snippets Groups Projects
Commit 812544a9 authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Allow make astyle in any directory

parent aae097cc
No related branches found
No related tags found
No related merge requests found
......@@ -2,8 +2,9 @@
DIRS=$1
# remove trailing "/"
DIRS=${DIRS%%/*}
# keep only dirname
DIRS=${DIRS##*/}
echo "$DIRS"
test -z "$DIRS" && DIRS=*
......
......@@ -86,6 +86,10 @@ plumedcheck:
codecheck:
../maketools/codecheck --local
.PHONY: astyle
astyle:
cd ../ ; ./astyle.sh $(CURDIR)
# generic makefile rules
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment