git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 1/4] Fix txt installation

From
PGPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Date
Sep 2, 2005, 10:31 UTC
Message-ID
<20050902103125.24918.905.stgit@zion.home.lan>

Avoid make removing the txt files. They are removed because there's no explicit dependance on them, thus they are intermediate files and thus get removed by make.

Also, while at this, avoid listing all those build-generated files in cg-status (i.e. edit .gitignore). ---

 .gitignore             |    2 ++
 Documentation/Makefile |    7 +++++--
 2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,3 @@
 cg-version
+Documentation/*.[17]
+Documentation/*.txt
diff --git a/Documentation/Makefile b/Documentation/Makefile
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -29,16 +29,19 @@ INSTALL=install
 # yourself - yes, all 6 characters of it!
 #
 
-all: html man
+all: html txt man
 
 html: $(DOC_HTML)
 
+txt: txt1 txt7
+txt1: $(MAN1_TXT)
+txt7: $(MAN7_TXT)
 
 man: man1 man7
 man1: $(DOC_MAN1)
 man7: $(DOC_MAN7)
 
-install: man
+install: man txt
 	$(INSTALL) -m755 -d $(DESTDIR)/$(txtdir)
 	$(INSTALL) $(MAN1_TXT) $(MAN7_TXT) $(DESTDIR)/$(txtdir)
 	$(INSTALL) -m755 -d $(DESTDIR)/$(man1) $(DESTDIR)/$(man7)
Next: Paolo 'Blaisorblade' Giarrusso
Message 1 of 6 in “Fix txt installation”
  1. 1/4 Fix txt installationPaolo 'Blaisorblade' Giarrusso, Sep 2, 2005
  2. 2/4 Fix cg-{diff,mkpatch} with HEAD^Paolo 'Blaisorblade' Giarrusso, Sep 2, 2005
  3. 3/4 commit-id micro cleanupPaolo 'Blaisorblade' Giarrusso, Sep 2, 2005
  4. 4/4 cg-{diff,mkpatch}: rename/copy optional detectionPaolo 'Blaisorblade' Giarrusso, Sep 2, 2005
  5. Petr BaudisSep 12, 2005
  6. BlaisorbladeSep 13, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.