radare2/libr/magic/d/Makefile
2015-10-27 03:26:45 +01:00

16 lines
374 B
Makefile

include ../../config.mk
MAGICDIR=${DESTDIR}${LIBDIR}/radare2/${VERSION}/magic
install: ${F_SDB}
-rm -rf "$(MAGICDIR)"
mkdir -p "$(MAGICDIR)"
cp -f default/* "${MAGICDIR}"
CWD=$(shell pwd)
symstall install-symlink: ${F_SDB}
mkdir -p "$(MAGICDIR)"
cd default ; for FILE in * ; do ln -fs "${CWD}/default/$$FILE" \
"$(MAGICDIR)/$$FILE" ; done
.PHONY: install symstall