mirror of
https://github.com/isar/libmdbx.git
synced 2024-12-30 03:04:12 +08:00
mdbx: support make dist
for debug-includes.
This commit is contained in:
parent
a6340c6b03
commit
38e9aa79e7
@ -535,7 +535,9 @@ dist/@tmp-shared_internals.inc: src/version.c $(ALLOY_DEPS) $(lastword $(MAKEFIL
|
|||||||
dist/mdbx.c: dist/@tmp-shared_internals.inc $(lastword $(MAKEFILE_LIST))
|
dist/mdbx.c: dist/@tmp-shared_internals.inc $(lastword $(MAKEFILE_LIST))
|
||||||
@echo ' MAKE $@'
|
@echo ' MAKE $@'
|
||||||
$(QUIET)mkdir -p dist && (cat dist/@tmp-shared_internals.inc \
|
$(QUIET)mkdir -p dist && (cat dist/@tmp-shared_internals.inc \
|
||||||
&& cat src/core.c src/osal.c src/version.c src/lck-windows.c src/lck-posix.c \
|
&& cat src/core.c src/osal.c src/version.c src/lck-windows.c src/lck-posix.c | sed \
|
||||||
|
-e '/#include "debug_begin.h"/r src/debug_begin.h' \
|
||||||
|
-e '/#include "debug_end.h"/r src/debug_end.h' \
|
||||||
) | grep -v -e '#include "' -e '#pragma once' | sed 's|@INCLUDE|#include|' >$@
|
) | grep -v -e '#include "' -e '#pragma once' | sed 's|@INCLUDE|#include|' >$@
|
||||||
|
|
||||||
dist/mdbx.c++: dist/@tmp-shared_internals.inc src/mdbx.c++ $(lastword $(MAKEFILE_LIST))
|
dist/mdbx.c++: dist/@tmp-shared_internals.inc src/mdbx.c++ $(lastword $(MAKEFILE_LIST))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user