[PATCH 1/4] Fix txt installation

From: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Date: 2005-09-02 20:31:25
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)

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Sep 02 20:36:06 2005

This archive was generated by hypermail 2.1.8 : 2005-09-02 20:37:08 EST