Improve placement of the goto tag popup
[geany-mirror.git] / Makefile.am
blob997dd4c539c9d386fb83bee12acf3bb61ed25a74
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
10 WIN32_BUILD_FILES = \
11         geany_private.rc \
12         geany.exe.manifest \
13         win32-config.h \
14         makefile.win32
16 EXTRA_DIST = \
17         autogen.sh \
18         wscript \
19         waf \
20         geany.desktop.in \
21         geany.pc.in \
22         geany.spec \
23         ChangeLog.pre-1-22 \
24         HACKING \
25         README.I18N \
26         README.Packagers \
27         po/intl_stats.sh \
28         intltool-extract.in \
29         intltool-merge.in \
30         intltool-update.in \
31         $(WIN32_BUILD_FILES)
33 DISTCLEANFILES = \
34         geany.desktop \
35         intltool-extract \
36         intltool-merge \
37         intltool-update
39 uninstall-local:
40         rm -rf $(DESTDIR)$(pkgdatadir);
42 # manually install some files under another name
43 install-data-local:
44         $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
45         $(INSTALL_DATA) $(srcdir)/COPYING $(DESTDIR)$(pkgdatadir)/GPL-2
46 if MINGW
47         $(INSTALL_DATA) $(srcdir)/AUTHORS $(DESTDIR)$(prefix)/Authors.txt
48         $(INSTALL_DATA) $(srcdir)/ChangeLog $(DESTDIR)$(prefix)/Changelog.txt
49         $(INSTALL_DATA) $(srcdir)/COPYING $(DESTDIR)$(prefix)/Copying.txt
50         $(INSTALL_DATA) $(srcdir)/README $(DESTDIR)$(prefix)/Readme.txt
51         $(INSTALL_DATA) $(srcdir)/NEWS $(DESTDIR)$(prefix)/News.txt
52         $(INSTALL_DATA) $(srcdir)/THANKS $(DESTDIR)$(prefix)/Thanks.txt
53         $(INSTALL_DATA) $(srcdir)/TODO $(DESTDIR)$(prefix)/Todo.txt
54 endif
56 dist-hook:
57         @if test -d "$(top_srcdir)/.git"; then \
58                 echo '  GEN    ChangeLog'; \
59                 ( cd "$(top_srcdir)" && \
60                   echo '# Generated by Makefile. Do not edit.' && echo && \
61                   git log --stat 0.21.0.. ) > ChangeLog.tmp \
62                 && mv -f ChangeLog.tmp "$(distdir)/ChangeLog" \
63                 || ( rm -f ChangeLog.tmp ; \
64                      echo 'Failed to generate ChangeLog' >&2 ); \
65         else \
66                 echo 'A git clone is required to generate a ChangeLog' >&2; \
67         fi
70 sign:
71         if test -f $(PACKAGE)-$(VERSION).tar.gz; then \
72                 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.gz; fi
73         if test -f $(PACKAGE)-$(VERSION).tar.bz2; then \
74                 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.bz2; fi
77 rpm: dist
78         rpmbuild -ta $(distdir).tar.gz
81 pkgconfig_DATA = geany.pc
82 pkgconfigdir = $(libdir)/pkgconfig
84 desktopdir = $(datadir)/applications
85 desktop_in_files = geany.desktop
86 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
87 @INTLTOOL_DESKTOP_RULE@