Skip to content

Commit 920e5e6

Browse files
committed
debian: Declaring deps required only for docs/testing
1 parent 529818a commit 920e5e6

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

debian/rules.in

+7-10
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,9 @@ override_dh_auto_install-arch:
8989

9090
override_dh_installdocs-arch:
9191
ifeq (,$(filter nodocs,$(DEB_BUILD_OPTIONS)))
92-
# Sample configs go in `usr/share/doc/linuxcnc` (not
93-
# `.../doc/@MAIN_PACKAGE_NAME@`) because that's where the
94-
# `linuxcnc` launcher script looks for them, and that's
95-
# inconvenient to change.
92+
# Sample configs go in `usr/share/doc/linuxcnc` (not `.../doc/@MAIN_PACKAGE_NAME@`)
93+
# because that's where the `linuxcnc` launcher script looks for them,
94+
# and that's inconvenient to change.
9695
dh_installdocs --doc-main-package=@MAIN_PACKAGE_NAME@ --package=@MAIN_PACKAGE_NAME@
9796
mkdir -p debian/@MAIN_PACKAGE_NAME@/usr/share/doc/linuxcnc
9897
mv debian/@MAIN_PACKAGE_NAME@/usr/share/doc/@MAIN_PACKAGE_NAME@/examples debian/@MAIN_PACKAGE_NAME@/usr/share/doc/linuxcnc
@@ -109,12 +108,10 @@ endif
109108

110109
override_dh_installdocs-indep:
111110
ifeq (,$(filter nodocs,$(DEB_BUILD_OPTIONS)))
112-
# The G-code quick reference html docs are built as
113-
# `docs/html/${LANG}/gcode.html`. We install them
114-
# into `/usr/share/doc/@MAIN_PACKAGE_NAME@/` in each
115-
# linuxcnc-doc-${LANG} package, then rename them there (except
116-
# for the English one) to include the language in the filename,
117-
# so they don't collide when we install all the doc debs.
111+
# The G-code quick reference html docs are built as `docs/html/${LANG}/gcode.html`.
112+
# We install them into `/usr/share/doc/@MAIN_PACKAGE_NAME@/` in each # linuxcnc-doc-${LANG} package,
113+
# then rename them there (except for the English one) to include the language in the filename,
114+
# so they do not collide when we install all the doc debs.
118115
#
119116
# Rename the "main" doc directories from
120117
# `usr/share/doc/@MAIN_PACKAGE_NAME@` to `usr/share/doc/linuxcnc`,

0 commit comments

Comments
 (0)