mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 02:49:02 -04:00
Make test and doc variables in Makefile.am compatible with BSD make
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-arm32 (push) Has been cancelled
Build / build-win (push) Has been cancelled
Build / build-freebsd (push) Has been cancelled
Build / build-musl (push) Has been cancelled
CodeQL Advanced / Analyze (c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-arm32 (push) Has been cancelled
Build / build-win (push) Has been cancelled
Build / build-freebsd (push) Has been cancelled
Build / build-musl (push) Has been cancelled
CodeQL Advanced / Analyze (c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
This commit is contained in:
parent
7878bc3d3d
commit
819bb75eaa
2 changed files with 30 additions and 10 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
|
@ -90,12 +90,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
usesh: true
|
usesh: true
|
||||||
prepare: |
|
prepare: |
|
||||||
pkg install -y autoconf automake gmake
|
pkg install -y autoconf automake
|
||||||
run: |
|
run: |
|
||||||
autoreconf -i
|
autoreconf -i
|
||||||
./configure --enable-warning-as-error MAKE=gmake
|
./configure --enable-warning-as-error
|
||||||
gmake all -j$(sysctl -n hw.ncpu)
|
make all -j$(sysctl -n hw.ncpu)
|
||||||
gmake dist check
|
make dist check
|
||||||
build-musl:
|
build-musl:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: alpine:latest
|
container: alpine:latest
|
||||||
|
|
|
||||||
32
Makefile.am
32
Makefile.am
|
|
@ -228,13 +228,28 @@ dist-hook:
|
||||||
|
|
||||||
LANG_CODES = de es fr it ja ko pl pt ro ru sv uk zh
|
LANG_CODES = de es fr it ja ko pl pt ro ru sv uk zh
|
||||||
|
|
||||||
LIST_D = doc/snapraid.d doc/snapraid_log.d $(patsubst %, doc/snapraid-%.d, $(LANG_CODES))
|
LIST_LANG_D = \
|
||||||
|
doc/snapraid-de.d \
|
||||||
|
doc/snapraid-es.d \
|
||||||
|
doc/snapraid-fr.d \
|
||||||
|
doc/snapraid-it.d \
|
||||||
|
doc/snapraid-ja.d \
|
||||||
|
doc/snapraid-ko.d \
|
||||||
|
doc/snapraid-pl.d \
|
||||||
|
doc/snapraid-pt.d \
|
||||||
|
doc/snapraid-ro.d \
|
||||||
|
doc/snapraid-ru.d \
|
||||||
|
doc/snapraid-sv.d \
|
||||||
|
doc/snapraid-uk.d \
|
||||||
|
doc/snapraid-zh.d
|
||||||
|
|
||||||
LIST_MAN = doc/snapraid.1 doc/snapraid_log.1 $(patsubst %, doc/snapraid-%.1, $(LANG_CODES))
|
LIST_D = doc/snapraid.d doc/snapraid_log.d $(LIST_LANG_D)
|
||||||
|
|
||||||
LIST_TXT = doc/snapraid.txt doc/snapraid_log.txt $(patsubst %, doc/snapraid-%.txt, $(LANG_CODES))
|
LIST_MAN = $(LIST_D:.d=.1)
|
||||||
|
|
||||||
LIST_XML = doc/snapraid.xml doc/snapraid_log.xml $(patsubst %, doc/snapraid-%.xml, $(LANG_CODES))
|
LIST_TXT = $(LIST_D:.d=.txt)
|
||||||
|
|
||||||
|
LIST_XML = $(LIST_D:.d=.xml)
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
autogen.sh autover.sh valgrind.supp \
|
autogen.sh autover.sh valgrind.supp \
|
||||||
|
|
@ -385,8 +400,13 @@ else # HAVE_POSIX
|
||||||
CHECKCOUNT_DEFAULT = 500
|
CHECKCOUNT_DEFAULT = 500
|
||||||
endif # HAVE_POSIX
|
endif # HAVE_POSIX
|
||||||
|
|
||||||
CHECKCOUNT = $(if $(filter 1,$(SHORTCHECK)),500,$(CHECKCOUNT_DEFAULT))
|
CHECKCOUNT_0 = $(CHECKCOUNT_DEFAULT)
|
||||||
CHECKSIZE = $(if $(filter 1,$(SHORTCHECK)),100,4000)
|
CHECKCOUNT_1 = 500
|
||||||
|
CHECKCOUNT = $(CHECKCOUNT_$(SHORTCHECK))
|
||||||
|
|
||||||
|
CHECKSIZE_0 = 4000
|
||||||
|
CHECKSIZE_1 = 100
|
||||||
|
CHECKSIZE = $(CHECKSIZE_$(SHORTCHECK))
|
||||||
|
|
||||||
CONF = $(srcdir)/test/test-par6.conf
|
CONF = $(srcdir)/test/test-par6.conf
|
||||||
THERMAL = $(srcdir)/test/test-par6-thermal.conf
|
THERMAL = $(srcdir)/test/test-par6-thermal.conf
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue