doc: updated it.po
[adg.git] / Makefile.am
blobe4c3f2a6b61b6f3be4b3b4f90d1e4a5fb9e6f77d
1 include $(top_srcdir)/build/Makefile.am.common
3 xml2txt_stylesheet=             $(abs_srcdir)/docs/common/docbook2txt.xsl
4 xml2txt_command=                $(AM_V_GEN)if test -x $(XSLTPROC) ; then : ; else \
5                                   echo ' *WARN  libxslt-1.0.19 or later is required to generate $@' ; \
6                                   touch $@ ; \
7                                   exit 0 ; \
8                                 fi ; \
9                                 $(XSLTPROC) --novalid -o $@ $(xml2txt_stylesheet)
10 ACLOCAL_AMFLAGS=                -I build
11 DISTCHECK_CONFIGURE_FLAGS=      --enable-pango \
12                                 --enable-gtk-doc \
13                                 --enable-test-framework \
14                                 --enable-introspection \
15                                 --with-gtk \
16                                 --with-glade-catalogdir
18 BUILT_SOURCES=                  ChangeLog \
19                                 README \
20                                 NEWS \
21                                 TODO \
22                                 CONTRIBUTING \
23                                 HACKING
25 EXTRA_DIST=                     COPYING \
26                                 ChangeLog-0.2.1 \
27                                 INSTALL \
28                                 THANKS \
29                                 adg.doap \
30                                 build/configure-win32 \
31                                 build/configure-win64 \
32                                 build/adg-header.bmp \
33                                 build/adg-welcome.bmp \
34                                 build/adg.ico \
35                                 build/gschemas.compiled \
36                                 docs/gnu/CONTRIBUTING.xml \
37                                 docs/gnu/HACKING.xml \
38                                 docs/gnu/NEWS.xml \
39                                 docs/gnu/README.xml \
40                                 docs/gnu/TODO.xml \
41                                 $(BUILT_SOURCES)
42 CLEANFILES=                     test-report.xml \
43                                 test-report.html \
44                                 perf-report.xml \
45                                 perf-report.html \
46                                 full-report.xml \
47                                 full-report.html
49 SUBDIRS=                        src \
50                                 po \
51                                 po-properties \
52                                 docs
54 if HAVE_GTK
55 SUBDIRS+=                       demo
56 endif
59 if OS_WINDOWS
61 installer:
62         $(MAKENSIS) build/adg.nsi
64 .phony: installer
66 endif
69 # Creating ChangeLog files from git log:
70 # idea stolen from cairo/build/Makefile.am.changelog
71 ChangeLog:
72         $(AM_V_GEN)if test -d "$(abs_srcdir)/.git"; then \
73           ( cd "$(abs_srcdir)" && git log --stat > $@ ) ; \
74         else \
75           echo ' *WARN  A git checkout is required to generate $@' ; \
76           touch $@ ; \
77         fi
79 # Autogenerated text docs
80 README: $(xml2txt_stylesheet) $(abs_srcdir)/docs/gnu/README.xml
81         $(xml2txt_command) $(abs_srcdir)/docs/gnu/README.xml
83 NEWS: $(xml2txt_stylesheet) $(abs_srcdir)/docs/gnu/NEWS.xml
84         $(xml2txt_command) $(abs_srcdir)/docs/gnu/NEWS.xml
86 TODO: $(xml2txt_stylesheet) $(abs_srcdir)/docs/gnu/TODO.xml
87         $(xml2txt_command) $(abs_srcdir)/docs/gnu/TODO.xml
89 CONTRIBUTING: $(xml2txt_stylesheet) $(abs_srcdir)/docs/gnu/CONTRIBUTING.xml
90         $(xml2txt_command) $(abs_srcdir)/docs/gnu/CONTRIBUTING.xml
92 HACKING: $(xml2txt_stylesheet) $(abs_srcdir)/docs/gnu/HACKING.xml
93         $(xml2txt_command) $(abs_srcdir)/docs/gnu/HACKING.xml