]> sourceware.org Git - lvm2.git/commitdiff
makefiles: fix pofile generation
authorZdenek Kabelac <zkabelac@redhat.com>
Tue, 2 Mar 2021 00:10:25 +0000 (01:10 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Tue, 2 Mar 2021 21:54:40 +0000 (22:54 +0100)
If there is any user of --enable-nls  and wants to get
usable .po language file  -  use 'make pofile'

libdm/make.tmpl.in
make.tmpl.in
po/Makefile.in

index 4a32b8f947d436f73d998c5c1ebe108dc7171f17..46916d23f238a521a863fdb0da198676fb07e6d1 100644 (file)
@@ -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] $<"
index 2346bfda2dc2e83a514814c355c57246a701eb30..4bd089d24e3956b311d9037af5b9171d69e67538 100644 (file)
@@ -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] $<"
index c8fa32ce72c3bd2adbed61a5b24c7c7cf7f75f39..6201f5965f1a95d0dc958c9352db363d58c9e4c4 100644 (file)
@@ -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
This page took 0.035829 seconds and 5 git commands to generate.