mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-14 00:38:55 +00:00
d448260816
needed mainly for RedHat/Fedora builds
16 lines
374 B
Makefile
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
|