Reword two phrases in German translation (#1686)
[geany-mirror.git] / Makefile.am
blobe8e13cf1b0dca548684387211d3c54f08e4710cc
1 ## Process this file with automake to produce Makefile.in
3 SUBDIRS = ctags scintilla src plugins icons po doc data tests
5 AUTOMAKE_OPTIONS =      1.7
7 ACLOCAL_AMFLAGS = -I m4
8 AM_DISTCHECK_CONFIGURE_FLAGS = --enable-api-docs --enable-html-docs --enable-pdf-docs \
9                                --enable-gtkdoc-header
11 WIN32_BUILD_FILES = \
12         geany_private.rc \
13         geany.exe.manifest
15 EXTRA_DIST = \
16         autogen.sh \
17         scripts/gen-api-gtkdoc.py \
18         geany.desktop.in \
19         geany.pc.in \
20         geany.spec \
21         ChangeLog.pre-1-22 \
22         HACKING \
23         README.I18N \
24         README.Packagers \
25         po/intl_stats.sh \
26         intltool-extract.in \
27         intltool-merge.in \
28         intltool-update.in \
29         $(WIN32_BUILD_FILES)
31 DISTCLEANFILES = \
32         geany.desktop \
33         intltool-extract \
34         intltool-merge \
35         intltool-update
37 uninstall-local:
38         rm -rf $(DESTDIR)$(pkgdatadir);
40 # manually install some files under another name
41 install-data-local:
42         $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
43         $(INSTALL_DATA) $(srcdir)/COPYING $(DESTDIR)$(pkgdatadir)/GPL-2
44 if MINGW
45         $(INSTALL_DATA) $(srcdir)/AUTHORS $(DESTDIR)$(prefix)/Authors.txt
46         $(INSTALL_DATA) $(srcdir)/ChangeLog $(DESTDIR)$(prefix)/Changelog.txt
47         $(INSTALL_DATA) $(srcdir)/COPYING $(DESTDIR)$(prefix)/Copying.txt
48         $(INSTALL_DATA) $(srcdir)/README $(DESTDIR)$(prefix)/Readme.txt
49         $(INSTALL_DATA) $(srcdir)/NEWS $(DESTDIR)$(prefix)/News.txt
50         $(INSTALL_DATA) $(srcdir)/THANKS $(DESTDIR)$(prefix)/Thanks.txt
51         $(INSTALL_DATA) $(srcdir)/TODO $(DESTDIR)$(prefix)/Todo.txt
52 endif
54 dist-hook:
55         @if test -d "$(top_srcdir)/.git"; then \
56                 echo '  GEN    ChangeLog'; \
57                 ( cd "$(top_srcdir)" && \
58                   echo '# Generated by Makefile. Do not edit.' && echo && \
59                   git log --stat 0.21.0.. ) > ChangeLog.tmp \
60                 && mv -f ChangeLog.tmp "$(distdir)/ChangeLog" \
61                 || ( rm -f ChangeLog.tmp ; \
62                      echo 'Failed to generate ChangeLog' >&2 ); \
63         else \
64                 echo 'A git clone is required to generate a ChangeLog' >&2; \
65         fi
68 sign:
69         if test -f $(PACKAGE)-$(VERSION).tar.gz; then \
70                 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.gz; fi
71         if test -f $(PACKAGE)-$(VERSION).tar.bz2; then \
72                 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.bz2; fi
75 rpm: dist
76         rpmbuild -ta $(distdir).tar.gz
79 pkgconfig_DATA = geany.pc
80 pkgconfigdir = $(libdir)/pkgconfig
82 desktopdir = $(datadir)/applications
83 desktop_in_files = geany.desktop
84 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
85 @INTLTOOL_DESKTOP_RULE@