Renamed sdb models to .sdb.txt (#8463)

This commit is contained in:
xarkes 2017-09-13 09:20:34 +02:00 committed by GitHub
parent cbbe87bf3f
commit 861648ad49
78 changed files with 22 additions and 24 deletions

2
.gitignore vendored
View File

@ -88,7 +88,7 @@ tags
*.kdev4
radare2-*.zip
# Ignore meson related files
bin/
./bin
meson.py
ninja.exe
.DS_Store

View File

@ -47,16 +47,16 @@ compile: ${F_SDB}
linux-x86-32.sdb: linux-x86-32
%.sdb:%
%.sdb:%.sdb.txt
ifneq ($(SILENT),)
@echo SDB $<
@rm -f $<.sdb
@cat $< | ${SDB} $<.sdb =
@test -f $<.sdb
@echo SDB $@
@rm -f $@
@cat $< | ${SDB} $@ =
@test -f $@
else
rm -f $<.sdb
cat $< | ${SDB} $<.sdb =
test -f $<.sdb
rm -f $@
cat $< | ${SDB} $@ =
test -f $@
endif
clean:

View File

@ -6,9 +6,9 @@ include ../../../config-user.mk
all: ${F_SDB}
%.sdb:%
${SDB} $<.sdb = < $<
test -f $<.sdb
%.sdb:%.sdb.txt
${SDB} $@ = < $<
test -f $@
clean:
rm -f *.sdb

View File

@ -39,18 +39,16 @@ all: ${SDB}
compile: ${F_SDB}
linux-x86-32.sdb: linux-x86-32
%.sdb:%
%.sdb:%.sdb.txt
ifneq ($(SILENT),)
@echo "SDB $<"
@rm -f $<.sdb
@"${SHELL}" gen.sh < $< | ${SDB} $<.sdb =
@test -f $<.sdb
@rm -f $@
@"${SHELL}" gen.sh < $< | ${SDB} $@ =
@test -f $@
else
rm -f $<.sdb
"${SHELL}" gen.sh < $< | ${SDB} $<.sdb =
test -f $<.sdb
rm -f $@
"${SHELL}" gen.sh < $< | ${SDB} $@ =
test -f $@
endif
clean:

View File

@ -1 +0,0 @@
ios-arm-32

View File

@ -0,0 +1 @@
darwin-x86-32.sdb.txt

View File

@ -1 +0,0 @@
ios-arm-64

View File

@ -0,0 +1 @@
darwin-x86-64.sdb.txt

View File

@ -13,7 +13,7 @@ with open('Makefile', 'r') as f:
DATADIRS = line.split('=')[1].split()
DATADIRS = [os.path.abspath(p) for p in DATADIRS]
BLACKLIST = ['Makefile', 'makefile']
EXTENSIONS = ['txt', '']
EXTENSIONS = ['sdb.txt']
MESON = 'python meson.py' if os.path.isfile('meson.py') else 'meson'
NINJA = 'ninja'