You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+7-26Lines changed: 7 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -129,39 +129,20 @@ The `src` directory contains the source Markdown documentation that will be comp
129
129
130
130
The build process is quite complex with several required dependencies, particularly for the manuals that require Doxygen. Therefore a Docker based build has been created which will do all the hard work automatically without you having to install any dependencies (apart from Docker itself).
131
131
132
-
For every manual an entry needs to be added into the `Dockerfile` and `Makefile` at the root of this directory tree.
133
-
134
-
#### Dockerfile
135
-
136
-
A new entry needs to be added as below (modified for the project name / directories / files):
The final `wolfboot.pdf` and `wolfboot-html` will be what is created in the `build` directory in the root of this directory tree at the end of the build.
132
+
For every manual an entry needs to be added into the `Makefile` at the root of this directory tree.
156
133
157
134
#### Makefile
158
135
159
-
An entry also needs to be added to the `Makefile` at the root of this directory tree with the following contents (adjusted for the target at the third step of your Dockerfile entry):
136
+
An entry needs to be added to the `Makefile` at the root of this directory tree with the following contents (adjusted for the target at the third step of your Dockerfile entry):
160
137
161
138
```
162
139
.PHONY: wolfboot
140
+
wolfboot: MANPATH=wolfBoot
141
+
wolfboot: PDFFILE=wolfBoot-Manual.pdf
163
142
wolfboot: build
164
-
@$(DOCKER_CMD) --target=wolfboot
143
+
@$(DOCKER_CMD)
165
144
```
166
145
146
+
The `MANPATH` should be set to the subdirectory name the manual is in. `PDFFILE` should be set to the PDF filename generated by the manual's Makefile.
147
+
167
148
You will also need to add an entry to the `all` line for your project.
0 commit comments