public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Carlos O'Donell <carlos@redhat.com>
To: libc-alpha@sourceware.org
Cc: Carlos O'Donell <carlos@redhat.com>
Subject: [COMMITTED] catgets: Reformat Makefile.
Date: Thu, 18 May 2023 13:40:00 -0400	[thread overview]
Message-ID: <20230518174000.511878-1-carlos@redhat.com> (raw)

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


                 reply	other threads:[~2023-05-18 17:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230518174000.511878-1-carlos@redhat.com \
    --to=carlos@redhat.com \
    --cc=libc-alpha@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).