Improve Goto Symbol popup contents
[geany-mirror.git] / Makefile.am
blob1437fe7a25ee7bc53683dfb2d0f18d1fe7c80c3b
1 ## Process this file with automake to produce Makefile.in
3 SUBDIRS = tagmanager 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 \
14         win32-config.h \
15         makefile.win32
17 EXTRA_DIST = \
18         autogen.sh \
19         scripts/gen-api-gtkdoc.py \
20         wscript \
21         waf \
22         geany.desktop.in \
23         geany.pc.in \
24         geany.spec \
25         ChangeLog.pre-1-22 \
26         HACKING \
27         README.I18N \
28         README.Packagers \
29         po/intl_stats.sh \
30         intltool-extract.in \
31         intltool-merge.in \
32         intltool-update.in \
33         $(WIN32_BUILD_FILES)
35 DISTCLEANFILES = \
36         geany.desktop \
37         intltool-extract \
38         intltool-merge \
39         intltool-update
41 uninstall-local:
42         rm -rf $(DESTDIR)$(pkgdatadir);
44 # manually install some files under another name
45 install-data-local:
46         $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
47         $(INSTALL_DATA) $(srcdir)/COPYING $(DESTDIR)$(pkgdatadir)/GPL-2
48 if MINGW
49         $(INSTALL_DATA) $(srcdir)/AUTHORS $(DESTDIR)$(prefix)/Authors.txt
50         $(INSTALL_DATA) $(srcdir)/ChangeLog $(DESTDIR)$(prefix)/Changelog.txt
51         $(INSTALL_DATA) $(srcdir)/COPYING $(DESTDIR)$(prefix)/Copying.txt
52         $(INSTALL_DATA) $(srcdir)/README $(DESTDIR)$(prefix)/Readme.txt
53         $(INSTALL_DATA) $(srcdir)/NEWS $(DESTDIR)$(prefix)/News.txt
54         $(INSTALL_DATA) $(srcdir)/THANKS $(DESTDIR)$(prefix)/Thanks.txt
55         $(INSTALL_DATA) $(srcdir)/TODO $(DESTDIR)$(prefix)/Todo.txt
56 endif
58 dist-hook:
59         @if test -d "$(top_srcdir)/.git"; then \
60                 echo '  GEN    ChangeLog'; \
61                 ( cd "$(top_srcdir)" && \
62                   echo '# Generated by Makefile. Do not edit.' && echo && \
63                   git log --stat 0.21.0.. ) > ChangeLog.tmp \
64                 && mv -f ChangeLog.tmp "$(distdir)/ChangeLog" \
65                 || ( rm -f ChangeLog.tmp ; \
66                      echo 'Failed to generate ChangeLog' >&2 ); \
67         else \
68                 echo 'A git clone is required to generate a ChangeLog' >&2; \
69         fi
72 sign:
73         if test -f $(PACKAGE)-$(VERSION).tar.gz; then \
74                 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.gz; fi
75         if test -f $(PACKAGE)-$(VERSION).tar.bz2; then \
76                 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.bz2; fi
79 rpm: dist
80         rpmbuild -ta $(distdir).tar.gz
83 pkgconfig_DATA = geany.pc
84 pkgconfigdir = $(libdir)/pkgconfig
86 desktopdir = $(datadir)/applications
87 desktop_in_files = geany.desktop
88 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
89 @INTLTOOL_DESKTOP_RULE@