Remove deprecated symbols (#3020)
[geany-mirror.git] / Makefile.am
blob7c148dffa9a7a3d3ab44913579c0e1c7f1464919
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         ChangeLog.pre-1-22 \
21         HACKING \
22         README.I18N \
23         README.Packagers \
24         intltool-extract.in \
25         intltool-merge.in \
26         intltool-update.in \
27         $(WIN32_BUILD_FILES)
29 DISTCLEANFILES = \
30         geany.desktop \
31         intltool-extract \
32         intltool-merge \
33         intltool-update
35 uninstall-local:
36         rm -rf $(DESTDIR)$(pkgdatadir);
38 # Remove po/.intltool-merge-cache.lock on "distcheck" which is left over by various incorrectly
39 # patched versions of intltool, e.g. https://bugs.archlinux.org/task/67098 or
40 # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991623
41 distclean-local:
42         rm -f $(top_builddir)/po/.intltool-merge-cache.lock
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_CONFIG_NOSYSTEM=1 HOME="$(srcdir)" XDG_CONFIG_HOME="$(srcdir)" \
64                   git log --stat 0.21.0.. ) > ChangeLog.tmp \
65                 && mv -f ChangeLog.tmp "$(distdir)/ChangeLog" \
66                 || ( rm -f ChangeLog.tmp ; \
67                      echo 'Failed to generate ChangeLog' >&2 ); \
68         else \
69                 echo 'A git clone is required to generate a ChangeLog' >&2; \
70         fi
73 sign:
74         if test -f $(PACKAGE)-$(VERSION).tar.gz; then \
75                 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.gz; fi
76         if test -f $(PACKAGE)-$(VERSION).tar.bz2; then \
77                 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.bz2; fi
80 rpm: dist
81         rpmbuild -ta $(distdir).tar.gz
84 pkgconfig_DATA = geany.pc
85 pkgconfigdir = $(libdir)/pkgconfig
87 desktopdir = $(datadir)/applications
88 desktop_in_files = geany.desktop
89 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
90 @INTLTOOL_DESKTOP_RULE@