1 ## Process this file with automake to produce Makefile.in
3 SUBDIRS = tagmanager scintilla src plugins icons po doc
7 ACLOCAL_AMFLAGS = -I m4
19 data/html_entities.tags \
20 $(srcdir)/data/filetypes.* \
21 data/filetype_extensions.conf \
24 $(srcdir)/data/templates/* \
25 $(srcdir)/data/templates/files/* \
26 $(srcdir)/data/colorschemes/* \
27 $(top_srcdir)/data/geany.glade \
28 $(top_srcdir)/data/geany.gtkrc
56 rm -rf $(DESTDIR)$(pkgdatadir);
58 install-data-local: install-data-only
63 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir); \
64 $(INSTALL_DATA) $(srcdir)/COPYING $(DESTDIR)$(pkgdatadir)/GPL-2; \
65 for file in $(srcdir)/data/*; do \
66 if test -f $$file; then \
67 $(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/; \
70 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/templates;
71 for file in $(srcdir)/data/templates/*; do \
72 if test -f $$file; then \
73 $(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/templates/; \
76 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/templates/files;
77 for file in $(srcdir)/data/templates/files/*; do \
78 if test -f $$file; then \
79 $(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/templates/files/; \
82 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/colorschemes;
83 for file in $(srcdir)/data/colorschemes/*; do \
84 if test -f $$file; then \
85 $(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/colorschemes/; \
91 @if test -d "$(top_srcdir)/.git"; then \
92 echo ' GEN ChangeLog'; \
93 ( cd "$(top_srcdir)" && \
94 echo '# Generated by Makefile. Do not edit.' && echo && \
95 git log --stat 0.21.0.. ) > ChangeLog.tmp \
96 && mv -f ChangeLog.tmp "$(distdir)/ChangeLog" \
97 || ( rm -f ChangeLog.tmp ; \
98 echo 'Failed to generate ChangeLog' >&2 ); \
100 echo 'A git clone is required to generate a ChangeLog' >&2; \
105 if test -f $(PACKAGE)-$(VERSION).tar.gz; then \
106 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.gz; fi
107 if test -f $(PACKAGE)-$(VERSION).tar.bz2; then \
108 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.bz2; fi
112 rpmbuild -ta $(distdir).tar.gz
115 pkgconfig_DATA = geany.pc
116 pkgconfigdir = $(libdir)/pkgconfig
118 desktopdir = $(datadir)/applications
119 desktop_in_files = geany.desktop
120 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
121 @INTLTOOL_DESKTOP_RULE@