aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-02-02 13:22:43 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-02-02 13:22:43 +0300
commitf6cf097d11144f252aa008c791064a2a891d2963 (patch)
tree7ac1623e39194f5e2f71ea195e6727779f3e13bd
parentMakefile: style & refactoring (diff)
downloadcmake-common-f6cf097d11144f252aa008c791064a2a891d2963.tar.gz
cmake-common-f6cf097d11144f252aa008c791064a2a891d2963.zip
Makefile: better $(ls) on Linux
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2d254cf..64d9463 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@ else
ext :=
newline := @echo
cwd := $(shell pwd)
-ls := ls --almost-all -R
+ls := function my_ls() { find "$$@" -type f | sort ; } ; my_ls
endif
# Python executable might be named differently, depending on the environment: