Skip to content

Commit df81b75

Browse files
committed
build: tidy up comments on Makefile.inc variables
1 parent 694b9d9 commit df81b75

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

docs/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
# SPDX-License-Identifier: BSD-3-Clause
3838

3939
libssh2_transform_makefile_inc("Makefile.am" "${CMAKE_CURRENT_BINARY_DIR}/Makefile.am.cmake")
40-
# Get 'dist_man_MANS' variable
40+
# Get dist_man_MANS variable
4141
include("${CMAKE_CURRENT_BINARY_DIR}/Makefile.am.cmake")
4242

4343
include(GNUInstallDirs)

example/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ include(CopyRuntimeDependencies)
4141
list(APPEND LIBSSH2_LIBS ${LIBSSH2_LIBS_SOCKET})
4242

4343
libssh2_transform_makefile_inc("Makefile.inc" "${CMAKE_CURRENT_BINARY_DIR}/Makefile.inc.cmake")
44-
# Get 'noinst_PROGRAMS' variable
44+
# Get noinst_PROGRAMS variable
4545
include("${CMAKE_CURRENT_BINARY_DIR}/Makefile.inc.cmake")
4646

4747
foreach(_example IN LISTS noinst_PROGRAMS)

example/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = foreign nostdinc
44

55
EXTRA_DIST = CMakeLists.txt
66

7-
# Get noing_PROGRAMS
7+
# Get noinst_PROGRAMS variable
88
include Makefile.inc
99

1010
AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src -I$(top_srcdir)/include

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ endif()
8181

8282
include(GNUInstallDirs)
8383
libssh2_transform_makefile_inc("Makefile.inc" "${CMAKE_CURRENT_BINARY_DIR}/Makefile.inc.cmake")
84-
# Get 'CSOURCES' and 'HHEADERS' variables
84+
# Get CSOURCES, HHEADERS, EXTRA_DIST variables
8585
include("${CMAKE_CURRENT_BINARY_DIR}/Makefile.inc.cmake")
8686
set(_sources ${CSOURCES} ${HHEADERS})
8787

src/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: BSD-3-Clause
33
AUTOMAKE_OPTIONS = foreign nostdinc
44

5-
# Get the CSOURCES, HHEADERS and EXTRA_DIST defines
5+
# Get CSOURCES, HHEADERS, EXTRA_DIST variables
66
include Makefile.inc
77

88
libssh2_la_SOURCES = $(CSOURCES) $(HHEADERS)

tests/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ include(CopyRuntimeDependencies)
4141
list(APPEND LIBSSH2_LIBS ${LIBSSH2_LIBS_SOCKET})
4242

4343
libssh2_transform_makefile_inc("Makefile.inc" "${CMAKE_CURRENT_BINARY_DIR}/Makefile.inc.cmake")
44-
# Get 'DOCKER_TESTS', 'DOCKER_TESTS_STATIC', 'STANDALONE_TESTS', 'STANDALONE_TESTS_STATIC', 'SSHD_TESTS',
45-
# 'librunner_la_SOURCES' variables
44+
# Get DOCKER_TESTS, DOCKER_TESTS_STATIC, STANDALONE_TESTS, STANDALONE_TESTS_STATIC, SSHD_TESTS,
45+
# librunner_la_SOURCES variables
4646
include("${CMAKE_CURRENT_BINARY_DIR}/Makefile.inc.cmake")
4747
list(APPEND DOCKER_TESTS ${DOCKER_TESTS_STATIC})
4848
list(APPEND STANDALONE_TESTS ${STANDALONE_TESTS_STATIC})

tests/Makefile.am

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src -I$(top_srcdir)/include
77
# This might hold -Werror
88
AM_CFLAGS = @LIBSSH2_CFLAG_EXTRAS@
99

10-
# Get DOCKER_TESTS, DOCKER_TESTS_STATIC, STANDALONE_TESTS, STANDALONE_TESTS_STATOC, SSHD_TESTS,
11-
# librunner_la_SOURCES defines and *_LDFLAGS for statically linked tests.
10+
# Get DOCKER_TESTS, DOCKER_TESTS_STATIC, STANDALONE_TESTS, STANDALONE_TESTS_STATIC, SSHD_TESTS,
11+
# librunner_la_SOURCES variables and *_LDFLAGS for statically linked tests.
1212
include Makefile.inc
1313

1414
if HAVE_LIB_STATIC

0 commit comments

Comments
 (0)