projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
output: Remove PostScript driver.
[pspp-builds.git]
/
po
/
automake.mk
diff --git
a/po/automake.mk
b/po/automake.mk
index a36081c433f4a70091e48c08c7ee656024cab3c7..0b18ef80298d4cba7eeafa5b0413ba06c4840dd4 100644
(file)
--- a/
po/automake.mk
+++ b/
po/automake.mk
@@
-24,7
+24,7
@@
$(POTFILE): $(TRANSLATABLE_FILES) $(UI_FILES)
$(POFILES): $(POTFILE)
$(POFILES): $(POTFILE)
- $(MSGMERGE) $(top_srcdir)/$@ $
<
-o $@
+ $(MSGMERGE) $(top_srcdir)/$@ $
?
-o $@
SUFFIXES += .po .gmo
SUFFIXES += .po .gmo
@@
-52,5
+52,13
@@
uninstall-hook:
EXTRA_DIST += $(POFILES) $(POTFILE)
EXTRA_DIST += $(POFILES) $(POTFILE)
-CLEANFILES += $(
POFILES) $(
GMOFILES) $(POTFILE)
+CLEANFILES += $(GMOFILES) $(POTFILE)
+# Clean $(POFILES) from build directory but not if that's the same as
+# the source directory.
+po_CLEAN:
+ @if test "$(srcdir)" != .; then \
+ echo rm -f $(POFILES); \
+ rm -f $(POFILES); \
+ fi
+CLEAN_LOCAL += po_CLEAN