fprintd/Makefile.am

30 lines
994 B
Text
Raw Normal View History

2008-03-04 12:36:28 +00:00
AUTOMAKE_OPTIONS = dist-bzip2
SUBDIRS = src data utils pam doc tests po
EXTRA_DIST = TODO intltool-extract.in intltool-merge.in intltool-update.in
2008-03-04 12:36:28 +00:00
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --with-systemdsystemunitdir='$${libdir}/systemd/system-distcheck'
2011-04-19 00:22:48 +01:00
2011-03-30 16:33:19 +01:00
all: check create-pot
check: check-translations
2011-03-30 16:33:19 +01:00
create-pot:
$(MAKE) -C po fprintd.pot
check-translations:
@for i in $(top_srcdir)/po/*.po ; do \
if ! grep -q `basename $$i | sed 's,.po,,'` $(top_srcdir)/po/LINGUAS ; then \
echo '**********************************'; \
echo '***' `basename $$i | sed 's,.po,,'` missing from po/LINGUAS '***' ; \
echo '**********************************'; \
exit 1; \
fi; \
done;
2011-03-30 16:33:19 +01:00
update-translations: create-pot check-translations
@tx -r $(srcdir) pull --all --force --skip
@if [ ! -d .tx ] ; then mkdir .tx ; fi ; if [ x$(srcdir) != x$(builddir) ] ; then cp -f $(srcdir)/.tx/config .tx/ ; fi
2011-03-30 16:33:19 +01:00
@tx push --source
2011-03-30 16:39:28 +01:00
-include $(top_srcdir)/git.mk