mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
makefiles: fix pofile generation
If there is any user of --enable-nls and wants to get usable .po language file - use 'make pofile'
This commit is contained in:
parent
4e976d9960
commit
8bfa4439e1
@ -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] $<"
|
||||
|
@ -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] $<"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user