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 \
36 rm -rf $(DESTDIR)$(pkgdatadir);
38 # manually install some files under another name
40 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
41 $(INSTALL_DATA) $(srcdir)/COPYING $(DESTDIR)$(pkgdatadir)/GPL-2
43 $(INSTALL_DATA) $(srcdir)/AUTHORS $(DESTDIR)$(prefix)/Authors.txt
44 $(INSTALL_DATA) $(srcdir)/ChangeLog $(DESTDIR)$(prefix)/Changelog.txt
45 $(INSTALL_DATA) $(srcdir)/COPYING $(DESTDIR)$(prefix)/Copying.txt
46 $(INSTALL_DATA) $(srcdir)/README $(DESTDIR)$(prefix)/Readme.txt
47 $(INSTALL_DATA) $(srcdir)/NEWS $(DESTDIR)$(prefix)/News.txt
48 $(INSTALL_DATA) $(srcdir)/THANKS $(DESTDIR)$(prefix)/Thanks.txt
49 $(INSTALL_DATA) $(srcdir)/TODO $(DESTDIR)$(prefix)/Todo.txt
53 @if test -d "$(top_srcdir)/.git"; then \
54 echo ' GEN ChangeLog'; \
55 ( cd "$(top_srcdir)" && \
56 echo '# Generated by Makefile. Do not edit.' && echo && \
57 GIT_CONFIG_NOSYSTEM=1 HOME="$(srcdir)" XDG_CONFIG_HOME="$(srcdir)" \
58 git log --stat 0.21.0.. ) > ChangeLog.tmp \
59 && mv -f ChangeLog.tmp "$(distdir)/ChangeLog" \
60 || ( rm -f ChangeLog.tmp ; \
61 echo 'Failed to generate ChangeLog' >&2 ); \
63 echo 'A git clone is required to generate a ChangeLog' >&2; \
68 if test -f $(PACKAGE)-$(VERSION).tar.gz; then \
69 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.gz; fi
70 if test -f $(PACKAGE)-$(VERSION).tar.bz2; then \
71 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.bz2; fi
75 rpmbuild -ta $(distdir).tar.gz
78 pkgconfig_DATA = geany.pc
79 pkgconfigdir = $(libdir)/pkgconfig
81 desktopdir = $(datadir)/applications
82 desktop_in_files = geany.desktop
83 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
84 @INTLTOOL_DESKTOP_RULE@