bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] gnulib-tool.py: Follow gnulib-tool changes, part 57.


From: Collin Funk
Subject: [PATCH] gnulib-tool.py: Follow gnulib-tool changes, part 57.
Date: Thu, 14 Mar 2024 18:56:01 -0700
User-agent: Mozilla Thunderbird

This patch implements the --extract-recursive-link-directive and
--extract-recursive-link-directive options.

For --extract-recursive-dependencies, the 'canonicalize' macro seemed
to work well since it has many dependencies:

$ gnulib-tool.py --extract-recursive-dependencies canonicalize > test-python 
2>&1
gnulib-tool.sh --extract-recursive-dependencies canonicalize > test-shell 2>&1
git diff --no-index test-python test-shell

I'm not sure if there is a very good test case for
--extract-recursive-link-directive. I fixed some sorting issues using
this, but even that was only a two line diff:

gnulib-tool.py --extract-recursive-link-directive unistdio/ulc-vasnprintf uname 
pthread sys_socket j0 exp jn fma pow trim > test-python 2>&1
gnulib-tool.sh --extract-recursive-link-directive unistdio/ulc-vasnprintf uname 
pthread sys_socket j0 exp jn fma pow trim > test-shell 2>&1
git diff --no-index test-python test-shell

Collin

Attachment: 0001-gnulib-tool.py-Follow-gnulib-tool-changes-part-57.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]