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
41 rm -rf $(DESTDIR)$(pkgdatadir);
43 # manually install some files under another name
45 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
46 $(INSTALL_DATA) $(srcdir)/COPYING $(DESTDIR)$(pkgdatadir)/GPL-2
48 $(INSTALL_DATA) $(srcdir)/AUTHORS $(DESTDIR)$(prefix)/Authors.txt
49 $(INSTALL_DATA) $(srcdir)/ChangeLog $(DESTDIR)$(prefix)/Changelog.txt
50 $(INSTALL_DATA) $(srcdir)/COPYING $(DESTDIR)$(prefix)/Copying.txt
51 $(INSTALL_DATA) $(srcdir)/README $(DESTDIR)$(prefix)/Readme.txt
52 $(INSTALL_DATA) $(srcdir)/NEWS $(DESTDIR)$(prefix)/News.txt
53 $(INSTALL_DATA) $(srcdir)/THANKS $(DESTDIR)$(prefix)/Thanks.txt
54 $(INSTALL_DATA) $(srcdir)/TODO $(DESTDIR)$(prefix)/Todo.txt
58 @if test -d "$(top_srcdir)/.git"; then \
59 echo ' GEN ChangeLog'; \
60 ( cd "$(top_srcdir)" && \
61 echo '# Generated by Makefile. Do not edit.' && echo && \
62 git log --stat 0.21.0.. ) > ChangeLog.tmp \
63 && mv -f ChangeLog.tmp "$(distdir)/ChangeLog" \
64 || ( rm -f ChangeLog.tmp ; \
65 echo 'Failed to generate ChangeLog' >&2 ); \
67 echo 'A git clone is required to generate a ChangeLog' >&2; \
72 if test -f $(PACKAGE)-$(VERSION).tar.gz; then \
73 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.gz; fi
74 if test -f $(PACKAGE)-$(VERSION).tar.bz2; then \
75 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.bz2; fi
79 rpmbuild -ta $(distdir).tar.gz
82 pkgconfig_DATA = geany.pc
83 pkgconfigdir = $(libdir)/pkgconfig
85 desktopdir = $(datadir)/applications
86 desktop_in_files = geany.desktop
87 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
88 @INTLTOOL_DESKTOP_RULE@