radare2/libr/magic/d/Makefile
Sebastian Reichel e9383b1441 Arch independent data in share (#6183)
* magic data is architecture independent

* fcnsign data is architecture independent

* opcode data is architecture independent

* syscall data is architecture independent

* hud data is architecture independent
2016-11-12 11:08:34 +01:00

17 lines
376 B
Makefile

include ../../config.mk
MAGICDIR=${DESTDIR}${DATADIR}/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