* [COMMITTED] catgets: Reformat Makefile.
@ 2023-05-18 17:40 Carlos O'Donell
0 siblings, 0 replies; only message in thread
From: Carlos O'Donell @ 2023-05-18 17:40 UTC (permalink / raw)
To: libc-alpha; +Cc: Carlos O'Donell
Reflow all long lines adding comment terminators.
Sort all reflowed text using scripts/sort-makefile-lines.py.
No code generation changes observed in binary artifacts.
No regressions on x86_64 and i686.
---
catgets/Makefile | 40 ++++++++++++++++++++++++++++++----------
1 file changed, 30 insertions(+), 10 deletions(-)
diff --git a/catgets/Makefile b/catgets/Makefile
index d29bb02cf0..69b5a093ed 100644
--- a/catgets/Makefile
+++ b/catgets/Makefile
@@ -22,8 +22,13 @@ subdir := catgets
include ../Makeconfig
-headers = nl_types.h
-routines = catgets open_catalog
+headers = \
+ nl_types.h \
+ # headers
+routines = \
+ catgets \
+ open_catalog \
+ # routines
others = gencat
install-bin = gencat
extra-objs = $(gencat-modules:=.o)
@@ -32,9 +37,14 @@ tests = tst-catgets
test-srcs = test-gencat
ifeq ($(run-built-tests),yes)
-tests-special += $(objpfx)de/libc.cat $(objpfx)test1.cat $(objpfx)test2.cat \
- $(objpfx)sample.SJIS.cat $(objpfx)test-gencat.out
-tests-special += $(objpfx)tst-catgets-mem.out
+tests-special += \
+ $(objpfx)de/libc.cat \
+ $(objpfx)sample.SJIS.cat \
+ $(objpfx)test-gencat.out \
+ $(objpfx)test1.cat \
+ $(objpfx)test2.cat \
+ $(objpfx)tst-catgets-mem.out
+ # tests-special
endif
gencat-modules = xmalloc
@@ -50,11 +60,21 @@ $(objpfx)gencat: $(gencat-modules:%=$(objpfx)%.o)
catgets-CPPFLAGS := -DNLSPATH='"$(localedir)/%L/%N:$(localedir)/%L/LC_MESSAGES/%N:$(localedir)/%l/%N:$(localedir)/%l/LC_MESSAGES/%N:"'
-generated += de.msg test1.cat test1.h test2.cat test2.h sample.SJIS.cat \
- test-gencat.h
-generated += tst-catgets.mtrace tst-catgets-mem.out
-
-generated-dirs += de
+generated += \
+ de.msg \
+ sample.SJIS.cat \
+ test-gencat.h \
+ test1.cat \
+ test1.h \
+ test2.cat \
+ test2.h \
+ tst-catgets-mem.out \
+ tst-catgets.mtrace \
+ # generated
+
+generated-dirs += \
+ de \
+ # generated-dirs
tst-catgets-ENV = NLSPATH="$(objpfx)%l/%N.cat" LANG=de \
MALLOC_TRACE=$(objpfx)tst-catgets.mtrace \
--
2.40.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-05-18 17:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-18 17:40 [COMMITTED] catgets: Reformat Makefile Carlos O'Donell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).