X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=Makefile.am;h=0956cbeda8b4bc294b2d12efa6603502a3ca770f;hb=ce2864a2a8c6c146fc605f8093a6246108dddb1a;hp=de8bdf72a75b2f683fde28f0cf94ffac7e3780d9;hpb=ae021d42d5933e442e039cf584bb0c91da0c7dd2;p=tinc diff --git a/Makefile.am b/Makefile.am index de8bdf72..0956cbed 100644 --- a/Makefile.am +++ b/Makefile.am @@ -22,6 +22,15 @@ configure-version: # Triggering the README target means we are building a distribution (make dist). 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