From: Zdenek Kabelac <zkabelac@sourceware.org>
To: lvm-devel@redhat.com
Subject: main - makefiles: fix pofile generation
Date: Tue, 2 Mar 2021 21:58:21 +0000 (GMT) [thread overview]
Message-ID: <20210302215821.1E96B3950405@sourceware.org> (raw)
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=8bfa4439e1c9a342d8e0d9ee36932f2a89721342
Commit: 8bfa4439e1c9a342d8e0d9ee36932f2a89721342
Parent: 4e976d9960f28278563ba7d0cd4c3795a4eba949
Author: Zdenek Kabelac <zkabelac@redhat.com>
AuthorDate: Tue Mar 2 01:10:25 2021 +0100
Committer: Zdenek Kabelac <zkabelac@redhat.com>
CommitterDate: Tue Mar 2 22:54:40 2021 +0100
makefiles: fix pofile generation
If there is any user of --enable-nls and wants to get
usable .po language file - use 'make pofile'
---
libdm/make.tmpl.in | 2 +-
make.tmpl.in | 2 +-
po/Makefile.in | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libdm/make.tmpl.in b/libdm/make.tmpl.in
index 4a32b8f94..46916d23f 100644
--- a/libdm/make.tmpl.in
+++ b/libdm/make.tmpl.in
@@ -410,7 +410,7 @@ DEFS+=-D_FILE_OFFSET_BITS=64
%.pot: %.c Makefile
@echo " [CC] $@"
- $(Q) $(CC) -E $(INCLUDES) $(VALGRIND_CFLAGS) $(PROGS_CFLAGS) -include $(top_builddir)/include/pogen.h $(DEFS) $(WFLAGS) $(CFLAGS) $< >$@
+ $(Q) $(CC) -E $(INCLUDES) $(VALGRIND_CFLAGS) $(PROGS_CFLAGS) -include $(top_builddir)/po/pogen.h $(DEFS) $(WFLAGS) $(CFLAGS) $< >$@
%.so: %.o
@echo " [CC] $<"
diff --git a/make.tmpl.in b/make.tmpl.in
index 2346bfda2..4bd089d24 100644
--- a/make.tmpl.in
+++ b/make.tmpl.in
@@ -449,7 +449,7 @@ DEFS+=-D_FILE_OFFSET_BITS=64
%.pot: %.c Makefile
@echo " [CC] $@"
- $(Q) $(CC) -E $(INCLUDES) $(VALGRIND_CFLAGS) $(PROGS_CFLAGS) -include $(top_builddir)/include/pogen.h $(DEFS) $(WFLAGS) $(CFLAGS) $< >$@
+ $(Q) $(CC) -E $(INCLUDES) $(VALGRIND_CFLAGS) $(PROGS_CFLAGS) -include $(top_builddir)/po/pogen.h $(DEFS) $(WFLAGS) $(CFLAGS) $< >$@
%.so: %.o
@echo " [CC] $<"
diff --git a/po/Makefile.in b/po/Makefile.in
index c8fa32ce7..6201f5965 100644
--- a/po/Makefile.in
+++ b/po/Makefile.in
@@ -19,7 +19,7 @@ LANGS=de
#TARGETS=$(LANGS:%=lvm2_%.mo) $(LANGS:%=dm_%.mo)
-DM_POSOURCES = $(top_builddir)/tools/dmsetup.pot $(top_builddir)/libdm/*.pot \
+DM_POSOURCES = $(top_builddir)/libdm/dm-tools/dmsetup.pot $(top_builddir)/libdm/*.pot \
$(top_builddir)/libdm/*/*.pot
LVM_POSOURCES = $(top_builddir)/tools/*.pot $(top_builddir)/lib/*/*.pot
reply other threads:[~2021-03-02 21:58 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=20210302215821.1E96B3950405@sourceware.org \
--to=zkabelac@sourceware.org \
--cc=lvm-devel@redhat.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.