Package: src:cmucl
Version: 20c-2
Severity: normal
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

While I was trying to build cmucl to fix bug 683398 and 714655 I noticed that
the Makefile in src/docs/ does not clean up all created files.

Please consider updating the create-and-adapt-doc-makefiles.patch file with
the attached file.

- -- System Information:
Debian Release: 7.2
  APT prefers stable
  APT policy: (500, 'stable'), (99, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAEBCAAGBQJSbXphAAoJEJxcmesFvXUKMe4H/194i34Gu/OvzvD8UJ39/a1W
uVb9a90baCGQvq7Cs/hBmHDiVIzP06QOCgRtCsHveBg6pyh8nFzQev4nbklaSkyK
2OJgHPcKVvygwKbUhR4FaBhhoxV4IZ5MHudmeV2udF/r/YizYCo7hsQ5HaFmgtyp
smky5wHdWvDSZr+q51nKbN0KW0fw6P9nqgG8iBsL7dOJXT6dXdC9Y96uPwYPjmsY
mJ4IhoMQI/Mg5bAn1j2FQiYb78D4AqoeYyOP3fhQRFF9FqKXK6qIlOjXhqTfdTDj
n8p3AEXgc4+WrL3PTv0petncW6lfK1B/yUlW7UH9xv3eZvVlWd34MiPuIQREt7U=
=H8qy
-----END PGP SIGNATURE-----
Description: Create a documentation makefile
Author: Peter Van Eynde <pvane...@debian.org>
Forwarded: not-needed

--- /dev/null
+++ b/src/docs/Makefile
@@ -0,0 +1,18 @@
+all:
+	(cd cmu-user && make cmu-user.ps ; make cmu-user.html ; make cmu-user.info ; make cmu-user.pdf )
+	(cd internals && make design.pdf)
+	(cd interface && latex internals && latex internals && \
+	latex internals && latex toolkit && latex toolkit && latex toolkit \
+	&& dvips -o internals.ps internals.dvi \
+	&& dvips -o toolkit.ps toolkit.dvi ; true )
+
+clean:
+	(cd cmu-user && make clean)
+	(cd internals && make clean)
+	rm -f cmu-user/cmu-user.info* 2> /dev/null || true
+	rm -f interface/internals.aux \
+	      interface/internals.log \
+              interface/internals.ps  \
+	      interface/toolkit.aux   \
+	      interface/toolkit.log   \
+	      interface/toolkit.ps
--- a/src/docs/cmu-user/Makefile
+++ b/src/docs/cmu-user/Makefile
@@ -102,9 +102,9 @@
 
 
 clean:
-	rm -f *.log *.bbl *.blg *.ps *.pdf *.aux *.lof *.toc *.gif *.out *.ilg
+	rm -f *.log *.bbl *.blg *.ps *.pdf *.aux *.lof *.toc *.out *.ilg
 	rm -f *.vdx *.cdx *.tdx *.fdx *.idx *.cnd *.fnd *.tnd *.vnd *.haux
-	rm -f *.html *.hcnd *.htnd *.hvnd *.hfnd *.htoc
+	rm -f *.html *.hcnd *.htnd *.hvnd *.hfnd *.htoc *.css
 
 index:
 	makeindex cmu-user.tdx -o cmu-user.tnd
--- a/src/docs/internals/Makefile
+++ b/src/docs/internals/Makefile
@@ -57,7 +57,7 @@
         -split $(HTML_SPLIT_LEVEL) -transparent -white $(MASTERFILE).tex
 
 clean distclean cvsclean :
-	-$(RM) -f *.log *.toc *.aux *.dvi *~ *.bak *.ps *.pdf core *.eps
+	-$(RM) -f *.log *.toc *.aux *.dvi *~ *.bak *.ps *.pdf core *.eps *.out
 	-$(RM) -rf design
 
 .PHONY : allformats

Reply via email to