summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-04-10 20:32:54 +0100
committerSadie Powell <sadie@witchery.services>2020-04-10 20:36:20 +0100
commitc5680d6493a07e6625cc84db0639811bb1a45aee (patch)
tree5cc813edaeab5159888722deb030d8bd6c3ba692 /tools
parent4a6fedd9324d87349a806c9c1d0ae6e7d3c1fd38 (diff)
Fix an oversight in mkversions that caused it to not update extras.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/mkversions2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mkversions b/tools/mkversions
index f5096b15b..ee29f48e9 100755
--- a/tools/mkversions
+++ b/tools/mkversions
@@ -51,7 +51,7 @@ my %version = get_version();
my $docdir = rel2abs catdir $ARGV[0], 'docs', $version{MAJOR}, 'modules';
print_error "unable to find the module directory at $docdir!" unless -d $docdir;
-for my $module (<src/modules/m_*.cpp>, <src/modules/m_*/main.cpp>) {
+for my $module (<src/modules/extra/m_*.cpp>, <src/modules/m_*.cpp>, <src/modules/m_*/main.cpp>) {
print_error "unable to extract module name from $module!" unless $module =~ /m_(\w+)[.\/]/;
my $docfile = catfile $docdir, "$1.md";
print_error "unable to find the module documentation at $docfile!" unless -f $docfile;