* pygnulib/GLModuleSystem.py
(GLModule.getAutomakeSnippet_Unconditional): Use os.path.join() on the
Makefile variable so it isn't deleted by a following '..' from
os.path.norm().
+2024-04-07 Collin Funk <collin.funk1@gmail.com>
+
+ gnulib-tool.py: Don't allow path normalization to delete a variable.
+ * pygnulib/GLModuleSystem.py
+ (GLModule.getAutomakeSnippet_Unconditional): Use os.path.join() on the
+ Makefile variable so it isn't deleted by a following '..' from
+ os.path.norm().
+
2024-04-07 Collin Funk <collin.funk1@gmail.com>
gnulib-tool.py: Use auxdir as given by AC_CONFIG_AUX_DIR.
buildaux_files = filter_filelist(constants.NL, all_files,
'build-aux/', '', 'build-aux/', '')
if buildaux_files != '':
- buildaux_files = [ joinpath('$(top_srcdir)', auxdir, filename)
+ buildaux_files = [ os.path.join('$(top_srcdir)', joinpath(auxdir, filename))
for filename in buildaux_files.split(constants.NL) ]
result += 'EXTRA_DIST += %s' % ' '.join(buildaux_files)
result += '\n\n'