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 <ldv@altlinux.org>
References: https://github.com/strace/strace/issues/56
This commit is contained in:
Eugene Syromyatnikov 2018-03-14 17:53:04 +01:00 committed by Dmitry V. Levin
parent b1e1eb7731
commit 4bb845478c
3 changed files with 6 additions and 1 deletions

1
.gitignore vendored
View File

@ -51,6 +51,7 @@
/native_printer_decls.h
/native_printer_defs.h
/printers.h
/README
/scno.h
/sen.h
/stamp-h1

View File

@ -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

View File