File: Makefile-patches

package info (click to toggle)
axiom 20170501-12
  • links: PTS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 1,052,416 kB
  • sloc: javascript: 8,042; lisp: 3,600; makefile: 505; cpp: 223; ansic: 181; sh: 96
file content (63 lines) | stat: -rw-r--r-- 3,179 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 axiom (20140801-1) unstable; urgency=medium
 .
   * New upstream release
Author: Camm Maguire <camm@debian.org>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

Index: axiom-20170401/src/interp/Makefile.pamphlet
===================================================================
--- axiom-20170401.orig/src/interp/Makefile.pamphlet
+++ axiom-20170401/src/interp/Makefile.pamphlet
@@ -834,13 +834,11 @@ ${OUT}/%.o: ${MID}/%.lisp
 	@ echo siOUTfromMID making ${OUT}/$*.o from ${MID}/$*.lisp
 	@ if [ -z "${NOISE}" ] ; then \
 	   (cd ${MID} ; \
-	    echo '(progn  (compile-file "$*.lisp"' \
-             ':output-file "${OUT}/$*.o") (${BYE}))' | ${DEPSYS} ) ; \
+	    echo "(let ((compiler::*cc* (concatenate 'string compiler::*cc* \" -I ${INC} -I ../lib\")))  (compile-file \"$*.lisp\" :output-file \"${OUT}/$*.o\") (${BYE}))" | ${DEPSYS} ) ; \
 	   else \
 	    (cd ${MID} ; \
-	     echo '(progn  (compile-file "$*.lisp"' \
-             ':output-file "${OUT}/$I.o") (${BYE}))' | ${DEPSYS} ) \
-              1>/dev/null 2>/dev/null ; \
+	     echo "(let ((compiler::*cc* (concatenate 'string compiler::*cc* \" -I ${INC} -I ../lib\")))  (compile-file \"$*.lisp\" :output-file \"${OUT}/$*.o\") (${BYE}))" | ${DEPSYS} ) \
+              1>$$(echo "$(NOISE)" | $(AWK) '{print $$2}') 2>&1 ; \
 	   fi 
 
 ${MID}/%.lisp: ${IN}/%.lisp.pamphlet
@@ -857,13 +855,11 @@ ${OUT}/%.${O}: ${MID}/%.${LISP}
 	@ echo si123 making ${OUT}/$*.${O} from ${MID}/$*.${LISP}
 	@  if [ -z "${NOISE}" ] ; then \
 	 (cd ${MID} ; \
-	   echo '(progn  (compile-file "${MID}/$*.${LISP}"' \
-             ':output-file "${OUT}/$*.${O}") (${BYE}))' | ${DEPSYS} ) ; \
+	    echo "(let ((compiler::*cc* (concatenate 'string compiler::*cc* \" -I ${INC} -I ../lib\")))  (compile-file \"$*.${LISP}\" :output-file \"${OUT}/$*.${O}\") (${BYE}))" | ${DEPSYS} ) ; \
 	  else \
 	  (cd ${MID} ; \
-	   echo '(progn  (compile-file "${MID}/$*.${LISP}"' \
-             ':output-file "${OUT}/$*.${O}") (${BYE}))' | ${DEPSYS} ) \
-              1>/dev/null 2>/dev/null ; \
+	    echo "(let ((compiler::*cc* (concatenate 'string compiler::*cc* \" -I ${INC} -I ../lib\")))  (compile-file \"$*.${LISP}\" :output-file \"${OUT}/$*.${O}\") (${BYE}))" | ${DEPSYS} ) ; \
+              1>$$(echo "$(NOISE)" | $(AWK) '{print $$2}') 2>&1 ; \
 	  fi 
 
 \end{chunk}