blob: 576b2452f71904c4966a473557bac0c987e88121 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
old_NEWS_hash = d41d8cd98f00b204e9800998ecf8427e
_makefile_at_at_check_exceptions = ' && !/INTL_MACOSX_LIBS/'
generated_files = $(srcdir)/lib/*.[ch]
_gl_translatable_string_re ?= \b(N?_|gettext) *\([^)"]*("|$$)|translatable="yes"|^Comment=
.PHONY: push-updated-translations sc_git_authors_known sc_appstream_news_hash
push-updated-translations:
@rm -rf translations-updated
git clone $(srcdir) translations-updated
(cd translations-updated && git checkout translations)
cp $(srcdir)/po/*.po translations-updated
(cd translations-updated && git add *.po && git commit -m"Update translations" && git push)
@rm -rf translations-updated
sc_git_authors_known:
@$(GIT) log --pretty=format:%an \
| sort -u \
| while read line ; \
do $(GREP) "$$line" $(srcdir)/AUTHORS >/dev/null 2>&1 \
|| (echo "$$line does not appear in AUTHORS." ; \
exit 1) ; \
$(GREP) "$$line" $(srcdir)/src/libdisfluid/disfluid-authors.h >/dev/null 2>&1 \
|| (echo "$$line does not appear in src/libdisfluid/disfluid-authors.h." ; \
exit 1) ; \
done
sc_appstream_news_hash:
@$(GREP) "$(NEWS_hash)" $(srcdir)/src/libdisfluid/disfluid-version.h >/dev/null 2>&1 \
|| (echo "The appstream news in src/libdisfluid/disfluid-version.h should be updated to reflect the changes in NEWS. Once this is done, write the NEWS hash in the file: $(NEWS_hash)" ; \
exit 1)
|