OLD | NEW |
1 @c -*- coding: utf-8; mode: texinfo; -*- | 1 @c -*- coding: utf-8; mode: texinfo; -*- |
2 | 2 |
3 | 3 |
4 @node Build system notes | 4 @node Build system notes |
5 @chapter Build system notes | 5 @chapter Build system notes |
6 | 6 |
7 @warning{This chapter is in high flux, and is being run in a | 7 @warning{This chapter is in high flux, and is being run in a |
8 @qq{wiki-like} fashion. Do not trust anything you read in this | 8 @qq{wiki-like} fashion. Do not trust anything you read in this |
9 chapter.} | 9 chapter.} |
10 | 10 |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 @end menu | 103 @end menu |
104 | 104 |
105 @node How stepmake works | 105 @node How stepmake works |
106 @subsection How stepmake works | 106 @subsection How stepmake works |
107 | 107 |
108 Typing make website runs the file @file{GNUmakefile} from the | 108 Typing make website runs the file @file{GNUmakefile} from the |
109 build directory. This only contains 3 lines: | 109 build directory. This only contains 3 lines: |
110 | 110 |
111 @example | 111 @example |
112 depth = . | 112 depth = . |
113 include config$(if $(conf),-$(conf),).make | 113 include config.make |
114 include $(configure-srcdir)/GNUmakefile.in | 114 include $(configure-srcdir)/GNUmakefile.in |
115 @end example | 115 @end example |
116 | 116 |
117 The variable @code{depth} is used throughout the make system to | 117 The variable @code{depth} is used throughout the make system to |
118 track how far down the directory structure the make is. The first | 118 track how far down the directory structure the make is. The first |
119 include sets lots of variables but doesn't "do" anything. Default | 119 include sets lots of variables but doesn't "do" anything. Default |
120 values for these variables are automatically detected at the | 120 values for these variables are automatically detected at the |
121 ./configure step, which creates the file @file{config.make}. | 121 ./configure step, which creates the file @file{config.make}. |
122 The second include runs the file @file{GNUmakefile.in} from | 122 The second include runs the file @file{GNUmakefile.in} from |
123 the top level source directory. | 123 the top level source directory. |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 true | 462 true |
463 @end example | 463 @end example |
464 | 464 |
465 The directories up to and including vim produce no effect with | 465 The directories up to and including vim produce no effect with |
466 make in non-debug mode, although debug does show lots of action. | 466 make in non-debug mode, although debug does show lots of action. |
467 | 467 |
468 @file{git/build/input/GNUmakefile} is: | 468 @file{git/build/input/GNUmakefile} is: |
469 | 469 |
470 @example | 470 @example |
471 depth=../ | 471 depth=../ |
472 include $(depth)/config$(if $(conf),-$(conf),).make | 472 include $(depth)/config.make |
473 include $(configure-srcdir)/./input/GNUmakefile | 473 include $(configure-srcdir)/./input/GNUmakefile |
474 MODULE_INCLUDES += $(src-dir)/$(outbase) | 474 MODULE_INCLUDES += $(src-dir)/$(outbase) |
475 @end example | 475 @end example |
476 | 476 |
477 The first include is: | 477 The first include is: |
478 | 478 |
479 @example | 479 @example |
480 ..//config.make | 480 ..//config.make |
481 @end example | 481 @end example |
482 | 482 |
(...skipping 926 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1409 website-css: | 1409 website-css: |
1410 copies css files | 1410 copies css files |
1411 website-pictures: | 1411 website-pictures: |
1412 copies pictures | 1412 copies pictures |
1413 website-examples: | 1413 website-examples: |
1414 copies examples | 1414 copies examples |
1415 web-post: | 1415 web-post: |
1416 runs website_post.py | 1416 runs website_post.py |
1417 Then some file copying | 1417 Then some file copying |
1418 @end example | 1418 @end example |
OLD | NEW |