Codebase list glm / 72cedac
d/rules: enable syntax highlighting in manual.html Andrea Pappacoda 1 year, 7 months ago
3 changed file(s) with 10 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
4141 Multi-Arch: foreign
4242 Section: doc
4343 Depends: ${misc:Depends}
44 Recommends: libjs-jquery
44 Recommends: libjs-highlight.js, libjs-jquery
4545 Description: documentation for the OpenGL Mathematics (GLM) library
4646 OpenGL Mathematics (GLM) is a header only C++ mathematics library
4747 for graphics software based on the OpenGL Shading Language (GLSL)
248248 Example of configuration log generated by `GLM_FORCE_MESSAGES`:
249249 -```cpp
250250 +
251 +```log
251 +```plaintext
252252 GLM: version 0.9.9.1
253253 GLM: C++ 17 with extensions
254254 GLM: Clang compiler detected
387387 An example of build messages generated by GLM:
388388 -```
389389 +
390 +```log
390 +```plaintext
391391 GLM: 0.9.9.1
392392 GLM: C++ 17 with extensions
393393 GLM: GCC compiler detected"
400400 We need to download a copy of our fork to our local machine. In the terminal, type:
401401
402402 -```
403 +```text
403 +```plaintext
404404 >>> git clone <our-repository-fork-git-url>
405405 ```
406406
409409 We can use the following command to add `upstream` (original project repository) as a remote repository so that we can fetch the latest GLM commits into our branch and keep our forked copy is synchronized.
410410
411411 -```
412 +```text
412 +```plaintext
413413 >>> git remote add upstream https://github.com/processing/processing.git
414414 ```
415415
416416 To synchronize our fork to the latest commit in the GLM repository, we can use the following command:
417417
418418 -```
419 +```text
419 +```plaintext
420420 >>> git fetch upstream
421421 ```
422422
423423 Then, we can merge the remote master branch to our current branch:
424424
425425 -```
426 +```text
426 +```plaintext
427427 >>> git merge upstream/master
428428 ```
429429
430430 Now our local copy of our fork has been synchronized. However, the fork's copy is not updated on GitHub's servers yet. To do that, use:
431431
432432 -```
433 +```text
433 +```plaintext
434434 >>> git push origin master
435435 ```
436436
1414 ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
1515 execute_after_dh_auto_build:
1616 cd doc && doxygen man.doxy
17 cmark --unsafe manual.md > manual.html
17 printf '<link rel="stylesheet" href="/usr/share/javascript/highlight.js/styles/default.css">\n<script src="/usr/share/javascript/highlight.js/highlight.min.js"></script>\n<script>hljs.initHighlightingOnLoad();</script>\n' > manual.html
18 cmark --unsafe manual.md >> manual.html
1819 endif
1920
2021 execute_after_dh_auto_install: