summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorAlasdair G Kergon <agk@redhat.com>2014-07-02 00:48:50 +0100
committerAlasdair G Kergon <agk@redhat.com>2014-07-02 00:48:50 +0100
commitc77197c688fad937b0701d749b9a449160bb40dc (patch)
tree71ac3b0a89a061639db9678f6dfd8e8040315a14 /po
parent70551eec5921e3b8bce7318880e54836f467b5fa (diff)
downloadlvm2-c77197c688fad937b0701d749b9a449160bb40dc.tar.gz
make: Fix pofile and .d file generation.
Use builddir not srcdir with make pofile. Append 'incfile:' lines to %.d files to handle newly-missing dependencies without 'make clean' after a file is moved or deleted.
Diffstat (limited to 'po')
-rw-r--r--po/Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/po/Makefile.in b/po/Makefile.in
index a4f57a68f..ff5db17fd 100644
--- a/po/Makefile.in
+++ b/po/Makefile.in
@@ -19,10 +19,10 @@ LANGS=de
TARGETS=$(LANGS:%=lvm2_%.mo) $(LANGS:%=dm_%.mo)
-DM_POSOURCES = $(top_srcdir)/dmsetup/*.pot $(top_srcdir)/libdm/*.pot \
- $(top_srcdir)/libdm/*/*.pot
+DM_POSOURCES = $(top_builddir)/tools/dmsetup.pot $(top_builddir)/libdm/*.pot \
+ $(top_builddir)/libdm/*/*.pot
-LVM_POSOURCES = $(top_srcdir)/tools/*.pot $(top_srcdir)/lib/*/*.pot
+LVM_POSOURCES = $(top_builddir)/tools/*.pot $(top_builddir)/lib/*/*.pot
include $(top_builddir)/make.tmpl