summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2023-03-12 12:35:38 +0100
committerAlejandro Colomar <alx@kernel.org>2023-03-12 12:37:23 +0100
commit7c90d7d05fea7b61d4fe147a7f340a2226b9c2d7 (patch)
treedeaa3998221ec6857ff46f8d97badd94d4b50366
parent2d2db85da2a92b4fd1a9bec4009a7992fc935e9f (diff)
.gitignore, *.mk, README, RELEASE: Make $builddir a hidden dir
Use <.tmp> instead of <tmp>. This makes it easier to ignore it in things like recursive searches. Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--.gitignore2
-rw-r--r--Makefile2
-rw-r--r--README2
-rw-r--r--RELEASE4
-rw-r--r--lib/build.mk2
5 files changed, 6 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index 904829dc0..8786f3c2a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,5 @@
# Default $builddir:
-/tmp/
+/.tmp/
# checkpatch spurious output. I hope we fix that some day.
/.checkpatch-camelcase.git.
diff --git a/Makefile b/Makefile
index 0b0af87bf..67faeed94 100644
--- a/Makefile
+++ b/Makefile
@@ -133,7 +133,7 @@ help-variables:
$(info )
$(info # Directory variables:)
$(info )
- $(info builddir tmp)
+ $(info builddir .tmp)
$(info DESTDIR )
$(info prefix /usr/local)
$(info mandir $$(datarootdir)/man)
diff --git a/README b/README
index adbcea103..a8bb62823 100644
--- a/README
+++ b/README
@@ -55,7 +55,7 @@ Files
scripts/*
Useful scripts for maintainers.
- tmp/
+ .tmp/
Default directory for files created by the build system.
Versions
diff --git a/RELEASE b/RELEASE
index 3b1864f34..21c524190 100644
--- a/RELEASE
+++ b/RELEASE
@@ -109,7 +109,7 @@ Description
- Sign the tarball:
- $ cd tmp/
+ $ cd .tmp/
$ gpg --detach-sign --armor man-pages-${new}.tar
- Upload the tarball:
@@ -194,7 +194,7 @@ Files
lsm
Linux software map. See also <https://lsm.qqx.org/>.
- tmp/man-pages-<version>.tar{,.xz,.gz}
+ .tmp/man-pages-<version>.tar{,.xz,.gz}
Generated tarballs. You can generate all with 'make dist', or generate
only some of them, with 'make dist-tar', 'make dist-xz', or
'make dist-gz'.
diff --git a/lib/build.mk b/lib/build.mk
index ed1ae92ff..71a76ba10 100644
--- a/lib/build.mk
+++ b/lib/build.mk
@@ -11,7 +11,7 @@ MAKEFILE_BUILD_INCLUDED := 1
include $(srcdir)/lib/src.mk
-builddir := tmp
+builddir := .tmp
_SRCDIR := $(builddir)/src