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
55 rm -rf $(DESTDIR)$(pkgdatadir);
57 install-data-local: install-data-only
62 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir); \
63 $(INSTALL_DATA) $(srcdir)/COPYING $(DESTDIR)$(pkgdatadir)/GPL-2; \
64 for file in $(srcdir)/data/*; do \
65 if test -f $$file; then \
66 $(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/; \
69 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/templates;
70 for file in $(srcdir)/data/templates/*; do \
71 if test -f $$file; then \
72 $(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/templates/; \
75 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/templates/files;
76 for file in $(srcdir)/data/templates/files/*; do \
77 if test -f $$file; then \
78 $(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/templates/files/; \
81 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/colorschemes;
82 for file in $(srcdir)/data/colorschemes/*; do \
83 if test -f $$file; then \
84 $(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/colorschemes/; \
90 @if test -d "$(top_srcdir)/.git"; then \
91 echo ' GEN ChangeLog'; \
92 ( cd "$(top_srcdir)" && \
93 echo '# Generated by Makefile. Do not edit.' && echo && \
94 git log --stat 0.21.0.. ) > ChangeLog.tmp \
95 && mv -f ChangeLog.tmp "$(distdir)/ChangeLog" \
96 || ( rm -f ChangeLog.tmp ; \
97 echo 'Failed to generate ChangeLog' >&2 ); \
99 echo 'A git clone is required to generate a ChangeLog' >&2; \
104 if test -f $(PACKAGE)-$(VERSION).tar.gz; then \
105 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.gz; fi
106 if test -f $(PACKAGE)-$(VERSION).tar.bz2; then \
107 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.bz2; fi
111 rpmbuild -ta $(distdir).tar.gz
114 pkgconfig_DATA = geany.pc
115 pkgconfigdir = $(libdir)/pkgconfig
117 desktopdir = $(datadir)/applications
118 desktop_in_files = geany.desktop
119 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
120 @INTLTOOL_DESKTOP_RULE@