]> granicus.if.org Git - strace/commitdiff
Move README to dist subdirectory
authorEugene Syromyatnikov <evgsyr@gmail.com>
Wed, 14 Mar 2018 16:53:04 +0000 (17:53 +0100)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 16 Mar 2018 00:55:58 +0000 (00:55 +0000)
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

.gitignore
bootstrap
dist/README [moved from README with 100% similarity]

index 4762e230b70ef7c9f29c887b7a29400dd66a37f6..ae60036897c9b0768e2613dede55920f5d50f962 100644 (file)
@@ -51,6 +51,7 @@
 /native_printer_decls.h
 /native_printer_defs.h
 /printers.h
+/README
 /scno.h
 /sen.h
 /stamp-h1
index c2372d2c6d715617a33c70f5668032663f3f5bb2..2a3a8227319db824d75fba683c5c35fdb6e9ba33 100755 (executable)
--- 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
similarity index 100%
rename from README
rename to dist/README