Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx> --- src/Makefile.am | 7 +------ src/access/meson.build | 7 +++++++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 3b5195f2266..d697114d7e8 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -86,13 +86,8 @@ else !WITH_REMOTE check-protocol: endif !WITH_REMOTE -check-aclperms: - $(AM_V_GEN)$(RUNUTF8) $(PYTHON) $(top_srcdir)/scripts/check-aclperms.py \ - $(srcdir)/access/viraccessperm.h \ - $(srcdir)/access/viraccessperm.c - check-local: check-protocol \ - check-aclperms check-admin + check-admin .PHONY: check-protocol $(PROTOCOL_STRUCTS:structs=struct) diff --git a/src/access/meson.build b/src/access/meson.build index 2d8a2a90716..beb61eddaf5 100644 --- a/src/access/meson.build +++ b/src/access/meson.build @@ -112,3 +112,10 @@ access_dep = declare_dependency( ) generated_sym_files += access_gen_sym + +test( + 'check-aclperms', + python3_prog, + args: [ check_aclperms_prog.path(), access_perm_h, files('viraccessperm.c') ], + env: runutf8, +) -- 2.26.2