Force enabling API docs on distcheck
[geany-mirror.git] / Makefile.am
blob7ae383dde089fcbf9b137a7937faddd764c22c92
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
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-0-17 \
24         ChangeLog.pre-1-22 \
25         HACKING \
26         README.I18N \
27         README.Packagers \
28         po/intl_stats.sh \
29         intltool-extract.in \
30         intltool-merge.in \
31         intltool-update.in \
32         $(WIN32_BUILD_FILES)
34 DISTCLEANFILES = \
35         geany.desktop \
36         intltool-extract \
37         intltool-merge \
38         intltool-update
40 uninstall-local:
41         rm -rf $(DESTDIR)$(pkgdatadir);
43 # manually install some files under another name
44 install-data-local:
45         $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
46         $(INSTALL_DATA) $(srcdir)/COPYING $(DESTDIR)$(pkgdatadir)/GPL-2
48 dist-hook:
49         @if test -d "$(top_srcdir)/.git"; then \
50                 echo '  GEN    ChangeLog'; \
51                 ( cd "$(top_srcdir)" && \
52                   echo '# Generated by Makefile. Do not edit.' && echo && \
53                   git log --stat 0.21.0.. ) > ChangeLog.tmp \
54                 && mv -f ChangeLog.tmp "$(distdir)/ChangeLog" \
55                 || ( rm -f ChangeLog.tmp ; \
56                      echo 'Failed to generate ChangeLog' >&2 ); \
57         else \
58                 echo 'A git clone is required to generate a ChangeLog' >&2; \
59         fi
62 sign:
63         if test -f $(PACKAGE)-$(VERSION).tar.gz; then \
64                 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.gz; fi
65         if test -f $(PACKAGE)-$(VERSION).tar.bz2; then \
66                 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.bz2; fi
69 rpm: dist
70         rpmbuild -ta $(distdir).tar.gz
73 pkgconfig_DATA = geany.pc
74 pkgconfigdir = $(libdir)/pkgconfig
76 desktopdir = $(datadir)/applications
77 desktop_in_files = geany.desktop
78 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
79 @INTLTOOL_DESKTOP_RULE@