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 55.


From: Collin Funk
Subject: [PATCH] gnulib-tool.py: Follow gnulib-tool changes, part 55.
Date: Mon, 11 Mar 2024 19:13:53 -0700
User-agent: Mozilla Thunderbird

I've attached a pretty simple patch that fixes an item in
gnulib-tool.py.TODO. It fixes a lot of the remaining lines in the diff
between gnulib-tool and gnulib-tool.py which is nice.

Specifically, it fixes the CFLAGS value used for building the Gnulib
source files. Then it adds some extra rules to the Makefile.ams and
some lines in the configure script to clean up *.Po files.

I decided to change GLEmiter.initmacro_end to use f-strings. It seems
more readable to me than using %V1%, %V2%, etc. and then replacing
those strings.

For testing I just used a script like this:

gnulib-tool.py --create-testdir --dir test-python readme-release
gnulib-tool --create-testdir --dir test-shell readme-release
(cd test-python && gnulib-tool.py --import --with-tests --libtool fts)
(cd test-shell && gnulib-tool --import --with-tests --libtool fts)
git diff --no-index test-python test-shell

and checked with and without --libtool since that affects the output
of a change in GLEmiter.initmacro_end.

Collin

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


reply via email to

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