Debian Codegraph @

debian/patches/fix-generation-of-man-files.patch

raw symbols SCIP
1 Description: Fix generation of man files.
2 This patch allows fixing the gneration of man files after upstream removal of
3 a build script. It turned out that the rebuild of executables is not needed.
4 Author: Abou Al Montacir <[email protected]>
5 Origin: Debian
6 Forwarded: Not-Needed
7 Last-Update: 2025-02-13
8
9 ---
10 Forwarded: no
11 Last-Update: 2022-10-02
12
13 --- a/doc/man/man1/generate.sh
14 +++ b/doc/man/man1/generate.sh
15 @@ -12,19 +12,15 @@ generate_man ()
16 SHORT_DESCRIPTION="$3"
17 shift 3
18
19 - pushd "$CGEDIR"
20 - "tools/${DIR}/${NAME}_compile.sh"
21 - popd
22 -
23 help2man --section=1 \
24 --no-info \
25 --source='Castle Game Engine' \
26 --name="${SHORT_DESCRIPTION}" \
27 --output="${NAME}.1" \
28 - "${CGEDIR}/tools/${DIR}/${NAME}"
29 + "${CGEDIR}/${DIR}/${NAME}"
30 }
31
32 -generate_man texture-font-to-pascal texture-font-to-pascal 'convert ttf font to a Pascal source file'
33 -generate_man image-to-pascal image-to-pascal 'convert image files into Pascal source code'
34 -generate_man castle-curves castle-curves 'create and edit curves for Castle Game Engine'
35 -generate_man build-tool castle-engine 'build and package Castle Game Engine programs'
36 +generate_man /debian/tmp/tmp texture-font-to-pascal 'convert ttf font to a Pascal source file'
37 +generate_man /debian/tmp/tmp image-to-pascal 'convert image files into Pascal source code'
38 +generate_man tools/castle-curves castle-curves 'create and edit curves for Castle Game Engine'
39 +generate_man tools/build-tool castle-engine 'build and package Castle Game Engine programs'