mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Roland Hieber <r.hieber@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Roland Hieber <rohieb@rohieb.name>
Subject: [ptxdist] [PATCH v2] Makefile: don't install .done, .gitignore and vim swap files
Date: Tue, 13 Nov 2018 21:10:56 +0100	[thread overview]
Message-ID: <20181113201056.16619-1-r.hieber@pengutronix.de> (raw)
In-Reply-To: <20181113195342.30999-1-r.hieber@pengutronix.de>

From: Roland Hieber <rohieb@rohieb.name>

.done is created by make all, and is an empty file.
.gitignore is only resonable in git repositories, and we exclude .git/.
vim swap files happen sometimes (e.g. when editing the makefile).

Signed-off-by: Roland Hieber <rohieb@rohieb.name>

---
v1 -> v2: use the right filename for .gitignore, and add vim swap files
---
 Makefile.in | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile.in b/Makefile.in
index 40c676c2b..26e75b00b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -101,7 +101,10 @@ install: all dirty-check
 	@mkdir -p "$(DESTDIR)$(instdir)"
 	@tar -C "$(abs_srcdir)" -cf - \
 		--exclude *~ \
+		--exclude .*.sw* \
+		--exclude .done \
 		--exclude .git \
+		--exclude .gitignore \
 		--exclude .pc \
 		--exclude .svn \
 		--exclude autom4te.cache \
-- 
2.19.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2018-11-13 20:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-13 19:53 [ptxdist] [PATCH] Makefile: don't install files .done and .gitignore Roland Hieber
2018-11-13 20:10 ` Roland Hieber [this message]
2018-11-13 20:54   ` [ptxdist] [PATCH v2] Makefile: don't install .done, .gitignore and vim swap files Uwe Kleine-König
2018-12-10 16:05   ` Baeuerle, Florian
2018-12-11  7:55     ` Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181113201056.16619-1-r.hieber@pengutronix.de \
    --to=r.hieber@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    --cc=rohieb@rohieb.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox