[PATCH 1/4] Fix txt installation
- From
- Paolo '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)