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 \
18 scripts/gen-signallist.sh \
19 scripts/print-tags.py \
32 rm -rf $(DESTDIR)$(pkgdatadir);
34 # manually install some files under another name
36 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
37 $(INSTALL_DATA) $(srcdir)/COPYING $(DESTDIR)$(pkgdatadir)/GPL-2
39 $(INSTALL_DATA) $(srcdir)/AUTHORS $(DESTDIR)$(prefix)/Authors.txt
40 $(INSTALL_DATA) $(srcdir)/ChangeLog $(DESTDIR)$(prefix)/Changelog.txt
41 $(INSTALL_DATA) $(srcdir)/COPYING $(DESTDIR)$(prefix)/Copying.txt
42 $(INSTALL_DATA) $(srcdir)/README $(DESTDIR)$(prefix)/Readme.txt
43 $(INSTALL_DATA) $(srcdir)/NEWS $(DESTDIR)$(prefix)/News.txt
44 $(INSTALL_DATA) $(srcdir)/THANKS $(DESTDIR)$(prefix)/Thanks.txt
45 $(INSTALL_DATA) $(srcdir)/TODO $(DESTDIR)$(prefix)/Todo.txt
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_CONFIG_NOSYSTEM=1 HOME="$(srcdir)" XDG_CONFIG_HOME="$(srcdir)" \
54 git log --stat 0.21.0.. ) > ChangeLog.tmp \
55 && mv -f ChangeLog.tmp "$(distdir)/ChangeLog" \
56 || ( rm -f ChangeLog.tmp ; \
57 echo 'Failed to generate ChangeLog' >&2 ); \
59 echo 'A git clone is required to generate a ChangeLog' >&2; \
64 if test -f $(PACKAGE)-$(VERSION).tar.gz; then \
65 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.gz; fi
66 if test -f $(PACKAGE)-$(VERSION).tar.bz2; then \
67 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.bz2; fi
71 rpmbuild -ta $(distdir).tar.gz
74 pkgconfig_DATA = geany.pc
75 pkgconfigdir = $(libdir)/pkgconfig
77 desktopdir = $(datadir)/applications
78 desktop_in_files = geany.desktop.in
79 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
81 $(desktop_DATA): $(desktop_in_files) $(wildcard $(top_srcdir)/po/*.po)
82 $(AM_V_GEN)$(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@