Skip to content

Commit

Permalink
cirrus ci: Check race condition
Browse files Browse the repository at this point in the history
clean-hook is removed from Makefile.am.

Signed-off-by: Juergen Repp <juergen_repp@web.de>
  • Loading branch information
JuergenReppSIT committed Jan 17, 2024
1 parent 3aa1e49 commit bc47fe6
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,16 @@ GITIGNOREFILES = ""
if AUTOCONF_CODE_COVERAGE_2019_01_06
include $(top_srcdir)/aminclude_static.am
clean-local: code-coverage-clean
-rm -r -f $(top_builddir)/ca
distclean-local: code-coverage-dist-clean
-rm -r -f $(top_builddir)/ca
else
@CODE_COVERAGE_RULES@
clean-local:
-rm -r -f $(top_builddir)/ca
distclean-local:
-rm -r -f $(top_builddir)/ca

endif
GITIGNOREFILES += $(TSS_GITIGNOREFILES)
CODE_COVERAGE_DIRECTORY = $(top_builddir)/src $(top_builddir)/test
Expand Down Expand Up @@ -990,15 +997,11 @@ install-data-hook: install-dirs
fi

uninstall-local:
-rm -r -f $(top_builddir)/ca
-rm $(DESTDIR)$(udevrulesdir)/$(udevrulesprefix)tpm-udev.rules
cd $(DESTDIR)$(man3dir) && \
[ -L Tss2_TctiLdr_Initialize_Ex.3 ] && \
rm -f Tss2_TctiLdr_Initialize_Ex.3 || true

clean-hook:
-rm -r -f $(top_builddir)/ca

prepare-check:
if INIT_CA
$(top_srcdir)/script/ekca/init_ca.sh $(top_builddir)
Expand Down Expand Up @@ -1037,7 +1040,10 @@ EXTRA_DIST += \

CLEANFILES += \
$(man3_MANS) \
$(man7_MANS)
$(man7_MANS) \
$(top_builddir)/ca

DISTCLEANFILES += $(top_builddir)/ca

# function to transform man .in files to man pages
# $1: target
Expand Down

0 comments on commit bc47fe6

Please sign in to comment.