X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=Makefile.am;h=0956cbeda8b4bc294b2d12efa6603502a3ca770f;hb=ce2864a2a8c6c146fc605f8093a6246108dddb1a;hp=489fedf3042ec225e5024344a98985a035d4d0fd;hpb=b18d5b572992debb04a7851e43143711319243a0;p=tinc diff --git a/Makefile.am b/Makefile.am index 489fedf3..0956cbed 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,7 +6,7 @@ SUBDIRS = src doc test systemd bash_completion.d ACLOCAL_AMFLAGS = -I m4 -EXTRA_DIST = COPYING.README README.android SECURITY.md +EXTRA_DIST = COPYING.README README.md README.android SECURITY.md @CODE_COVERAGE_RULES@ @@ -21,7 +21,16 @@ configure-version: -cd $(srcdir) && git describe && autoconf --force # Triggering the README target means we are building a distribution (make dist). -README: configure-version +README: configure-version README.md + ln -sf README.md README + +CLEANFILES = README + +# If we're running on a CI server, we may not be able to remove some test +# artifacts without using sudo because they are created by tincd running +# with root privileges. +clean-local: + if test -n "${CI}"; then sudo rm -rf test/*.test.*/; fi ChangeLog: (cd $(srcdir) && git log) > ChangeLog