X-Git-Url: https://git.draconx.ca/gitweb/dxcommon.git/blobdiff_plain/83acbb95d2f181cd67f08f1bae4572de9768b63b..bfc45d64ca8ad53b1ac7c446b066699fecb7d2c3:/scripts/fix-gnulib.pl diff --git a/scripts/fix-gnulib.pl b/scripts/fix-gnulib.pl index 85ae632..d4ea7d1 100755 --- a/scripts/fix-gnulib.pl +++ b/scripts/fix-gnulib.pl @@ -193,6 +193,11 @@ EOF $_ = mangle_target($_); } + # MKDIR_P commands need to be fixed up; in principle Gnulib could also + # be patched here to use $(@D) instead (and thus automatically benefit + # from the target being fixed up), but this will do for now. + s/^(\t.*\$\(MKDIR_P\)) ([[:alnum:]]+)$/\1 lib\/\2/; + # When using conditional-dependencies, *CLEANFILES can end up # depending on the configuration. This means that "make distclean" # may not actually delete everything if the configuration changes