1 ## Process this file with automake to produce Makefile.in
3 SUBDIRS = ctags scintilla src plugins icons po doc data tests
7 ACLOCAL_AMFLAGS = -I m4
8 AM_DISTCHECK_CONFIGURE_FLAGS = --enable-api-docs --enable-html-docs --enable-pdf-docs \
17 scripts/gen-api-gtkdoc.py \
38 rm -rf $(DESTDIR)$(pkgdatadir);
40 # manually install some files under another name
42 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
43 $(INSTALL_DATA) $(srcdir)/COPYING $(DESTDIR)$(pkgdatadir)/GPL-2
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
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_CONFIG_NOSYSTEM=1 HOME="$(srcdir)" XDG_CONFIG_HOME="$(srcdir)" \
60 git log --stat 0.21.0.. ) > ChangeLog.tmp \
61 && mv -f ChangeLog.tmp "$(distdir)/ChangeLog" \
62 || ( rm -f ChangeLog.tmp ; \
63 echo 'Failed to generate ChangeLog' >&2 ); \
65 echo 'A git clone is required to generate a ChangeLog' >&2; \
70 if test -f $(PACKAGE)-$(VERSION).tar.gz; then \
71 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.gz; fi
72 if test -f $(PACKAGE)-$(VERSION).tar.bz2; then \
73 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.bz2; fi
77 rpmbuild -ta $(distdir).tar.gz
80 pkgconfig_DATA = geany.pc
81 pkgconfigdir = $(libdir)/pkgconfig
83 desktopdir = $(datadir)/applications
84 desktop_in_files = geany.desktop
85 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
86 @INTLTOOL_DESKTOP_RULE@