# [PATCH 2/2] Documentation/Makefile: add *.pdf to `clean' target

3 messages from 2011-08-08 to 2011-08-08. Participants: Emilio G. Cota, Junio C Hamano.
Thread: https://gitlist.dev/t/28045

## Emilio G. Cota, 2011-08-08 08:33

Subject: [PATCH 1/2] Documentation: ignore *.pdf files
Message-ID: <1312792385-19149-1-git-send-email-cota@braap.org>
URL: https://gitlist.dev/e/1312792385-19149-1-git-send-email-cota%40braap.org

```
From: "Emilio G. Cota" <cota@braap.org>

user-manual.pdf is generated by the build and therefore
should be ignored by git.

Signed-off-by: Emilio G. Cota <cota@braap.org>
---
 Documentation/.gitignore |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Documentation/.gitignore b/Documentation/.gitignore
index 1c3a9fe..d62aebd 100644
--- a/Documentation/.gitignore
+++ b/Documentation/.gitignore
@@ -3,6 +3,7 @@
 *.[1-8]
 *.made
 *.texi
+*.pdf
 git.info
 gitman.info
 howto-index.txt
-- 
1.7.6

```

## Emilio G. Cota, 2011-08-08 08:33

Subject: [PATCH 2/2] Documentation/Makefile: add *.pdf to `clean' target
Message-ID: <1312792385-19149-2-git-send-email-cota@braap.org>
URL: https://gitlist.dev/e/1312792385-19149-2-git-send-email-cota%40braap.org
In-Reply-To: <1312792385-19149-1-git-send-email-cota@braap.org>

```
From: "Emilio G. Cota" <cota@braap.org>

user-manual.pdf is not removed by `make clean'; fix it.

Signed-off-by: Emilio G. Cota <cota@braap.org>
---
 Documentation/Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Documentation/Makefile b/Documentation/Makefile
index 36989b7..18c71d7 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -232,6 +232,7 @@ cmd-list.made: cmd-list.perl ../command-list.txt $(MAN1_TXT)
 clean:
 	$(RM) *.xml *.xml+ *.html *.html+ *.1 *.5 *.7
 	$(RM) *.texi *.texi+ *.texi++ git.info gitman.info
+	$(RM) *.pdf
 	$(RM) howto-index.txt howto/*.html doc.dep
 	$(RM) technical/api-*.html technical/api-index.txt
 	$(RM) $(cmds_txt) *.made
-- 
1.7.6

```

## Junio C Hamano, 2011-08-08 17:14

Subject: Re: [PATCH 2/2] Documentation/Makefile: add *.pdf to `clean' target
Message-ID: <7vty9rwvui.fsf@alter.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vty9rwvui.fsf%40alter.siamese.dyndns.org
In-Reply-To: <1312792385-19149-2-git-send-email-cota@braap.org>

```
Makes sense; thanks.

```
