Exclude Makefile and meson.build in libr/cons/d in install (#9927)

This commit is contained in:
Florian Märkl 2018-04-20 00:25:44 +02:00 committed by radare
parent a30c5c3722
commit 0b9b25c352

View File

@ -5,12 +5,17 @@ all clean:
.PHONY: all clean install install-symlink symstall
CWD=$(shell pwd)
install: ${F_SDB}
rm -rf "$P"
mkdir -p "$P"
cp -af * "$P"
for FILE in * ; do \
if [ $$FILE != Makefile -a $$FILE != meson.build -a -f $$FILE ]; then \
cp -af "${CWD}/$$FILE" "$P/$$FILE" ; \
fi ; \
done
CWD=$(shell pwd)
symstall install-symlink:
mkdir -p "$P"
for FILE in * ; do \