docs fix makefile shell expansions
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m31s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m31s
This commit is contained in:
@@ -5,7 +5,7 @@ $(eval $(call add_include,libstring))
|
|||||||
|
|
||||||
cflags += -D"FAT_PRINTF(a)"
|
cflags += -D"FAT_PRINTF(a)"
|
||||||
|
|
||||||
DOCS_COLLECT = $(git ls-files '*.c' '*.h' ':!_fat.*' ':!_fatctx.h')
|
DOCS_COLLECT = $$(git ls-files '*.c' '*.h' ':!_fat.*' ':!_fatctx.h')
|
||||||
|
|
||||||
libname := libfat
|
libname := libfat
|
||||||
|
|
||||||
|
|||||||
@@ -52,8 +52,6 @@ static int _acquire_lock (MLOCK_T* lock) { return mutex_lock (*lock); }
|
|||||||
|
|
||||||
static int _release_lock (MLOCK_T* lock) { return mutex_unlock (*lock); }
|
static int _release_lock (MLOCK_T* lock) { return mutex_unlock (*lock); }
|
||||||
|
|
||||||
static int _try_lock (MLOCK_T* lock) { return mutex_try (*lock); }
|
|
||||||
|
|
||||||
#define INITIAL_LOCK(lk) _init_lock ((lk))
|
#define INITIAL_LOCK(lk) _init_lock ((lk))
|
||||||
|
|
||||||
#define DESTROY_LOCK(lk) _fini_lock ((lk))
|
#define DESTROY_LOCK(lk) _fini_lock ((lk))
|
||||||
|
|||||||
@@ -15,7 +15,9 @@ DOCS_COLLECT ?= $$(git ls-files '*.c' '*.h')
|
|||||||
DOCS ?= \
|
DOCS ?= \
|
||||||
rm -rf docs; \
|
rm -rf docs; \
|
||||||
clang-doc --format=md --output docs -p . $(DOCS_COLLECT); \
|
clang-doc --format=md --output docs -p . $(DOCS_COLLECT); \
|
||||||
for f in ./docs/GlobalNamespace/*.md; do sed -i '/^\# Global Namespace/d' "$$f"; done; \
|
for f in ./docs/GlobalNamespace/*.md; \
|
||||||
|
do sed -i '/^\# Global Namespace/d' "$$f"; \
|
||||||
|
done; \
|
||||||
rm -rf ../docs/libs/$(libname); \
|
rm -rf ../docs/libs/$(libname); \
|
||||||
mkdir -p ../docs/libs/$(libname); \
|
mkdir -p ../docs/libs/$(libname); \
|
||||||
cp ./docs/GlobalNamespace/*.md ../docs/libs/$(libname);
|
cp ./docs/GlobalNamespace/*.md ../docs/libs/$(libname);
|
||||||
|
|||||||
Reference in New Issue
Block a user