From: Eugene Syromyatnikov Date: Wed, 14 Mar 2018 16:53:04 +0000 (+0100) Subject: Move README to dist subdirectory X-Git-Tag: v4.22~81 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4bb845478cdd4ef463a6623a35c3ebe5fd3f305a;p=strace Move README to dist subdirectory README was originally written for users of distribution tarballs. Nowadays it appears to be confusing for those who build strace using a GIT version of strace source code. * README: Move... * dist/README: ...here. * bootstrap: Copy README from dist subdirectory to the toplevel directory after successful autoreconf. Co-Authored-by: Dmitry V. Levin References: https://github.com/strace/strace/issues/56 --- diff --git a/.gitignore b/.gitignore index 4762e230..ae600368 100644 --- a/.gitignore +++ b/.gitignore @@ -51,6 +51,7 @@ /native_printer_decls.h /native_printer_defs.h /printers.h +/README /scno.h /sen.h /stamp-h1 diff --git a/bootstrap b/bootstrap index c2372d2c..2a3a8227 100755 --- a/bootstrap +++ b/bootstrap @@ -25,4 +25,8 @@ for m in m32 mx32; do done done -exec autoreconf -f -i "$@" +autoreconf -f -i "$@" + +for f in README; do + cp "dist/$f" "$f" +done diff --git a/README b/dist/README similarity index 100% rename from README rename to dist/README