1 ## Process this file with automake to produce Makefile.in
3 SUBDIRS = tagmanager 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 \
19 scripts/gen-api-gtkdoc.py \
40 rm -rf $(DESTDIR)$(pkgdatadir);
42 # manually install some files under another name
44 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
45 $(INSTALL_DATA) $(srcdir)/COPYING $(DESTDIR)$(pkgdatadir)/GPL-2
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
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 ); \
66 echo 'A git clone is required to generate a ChangeLog' >&2; \
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
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@