forked from FontManager/font-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
82 lines (72 loc) · 1.59 KB
/
Makefile.am
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
SUBDIRS = \
data \
lib \
src \
tests \
extensions \
help \
po
ACLOCAL_AMFLAGS = -I m4
CONFIG_STATUS_DEPENDENCIES = \
lib/UX/Utils/Utils.vala.in \
lib/FontConfig/Sources.vala.in \
lib/Common/About.vala.in \
lib/Common/Settings.vala.in \
lib/Common/Constants.vala.in \
lib/Common/Database.vala.in \
lib/Common/Collections.vala.in \
src/font-manager/Migration.vala.in \
src/font-manager/Application.vala.in \
src/font-manager/Main.vala.in \
src/font-viewer/Application.vala.in
EXTRA_DIST = \
po/insert-header.sin \
po/Makefile.in.in \
po/HEADER \
po/POTFILES.in \
po/POTFILES.readme \
po/POTFILES.skip \
help/insert-header.sin \
help/HEADER \
Flags.mk
DISTCLEANFILES = \
po/Makefile \
po/Makefile.in \
po/POTFILES \
po/*stamp*
MAINTAINERCLEANFILES = \
aclocal.m4 \
compile \
config.guess \
config.sub \
configure \
depcomp \
install-sh \
ltmain.sh \
missing \
py-compile \
Makefile.in \
po/Makefile* \
po/POTFILES \
po/*stamp*
update_pot_header = \
$(SED) -f insert-header.sin -i $1 && \
$(SED) -i 's/PACKAGE/${PACKAGE_NAME}/g' $1 && \
$(SED) -i 's/VERSION/${PACKAGE_VERSION}/g' $1
$(PACKAGE_NAME).pot:
cd $(abs_top_srcdir)/po/ && \
rm -f $@ && \
$(MAKE) update-po && \
$(call update_pot_header,$@) && \
cd $(abs_top_srcdir)/help && \
rm -f $@ && \
$(MAKE) pot && \
$(call update_pot_header,$@) && \
$(MAKE) repo && \
cd $(abs_srcdir)
maintainer-clean-local:
-rm -rf m4 autom4te.cache $(PACKAGE_NAME)-$(PACKAGE_VERSION)* BUILD
find . -name .libs -exec rm -rf {} \;
find . -name .deps -exec rm -rf {} \;
all: $(PACKAGE_NAME).pot
.PHONY: $(PACKAGE_NAME).pot