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
30 $(top_srcdir)/data/geany.css
32 $(top_srcdir)/data/geany.gtkrc
61 rm -rf $(DESTDIR)$(pkgdatadir);
63 install-data-local: install-data-only
68 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir); \
69 $(INSTALL_DATA) $(srcdir)/COPYING $(DESTDIR)$(pkgdatadir)/GPL-2; \
70 for file in $(srcdir)/data/*; do \
71 if test -f $$file; then \
72 $(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/; \
75 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/templates;
76 for file in $(srcdir)/data/templates/*; do \
77 if test -f $$file; then \
78 $(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/templates/; \
81 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/templates/files;
82 for file in $(srcdir)/data/templates/files/*; do \
83 if test -f $$file; then \
84 $(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/templates/files/; \
87 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/colorschemes;
88 for file in $(srcdir)/data/colorschemes/*; do \
89 if test -f $$file; then \
90 $(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/colorschemes/; \
96 @if test -d "$(top_srcdir)/.git"; then \
97 echo ' GEN ChangeLog'; \
98 ( cd "$(top_srcdir)" && \
99 echo '# Generated by Makefile. Do not edit.' && echo && \
100 git log --stat 0.21.0.. ) > ChangeLog.tmp \
101 && mv -f ChangeLog.tmp "$(distdir)/ChangeLog" \
102 || ( rm -f ChangeLog.tmp ; \
103 echo 'Failed to generate ChangeLog' >&2 ); \
105 echo 'A git clone is required to generate a ChangeLog' >&2; \
110 if test -f $(PACKAGE)-$(VERSION).tar.gz; then \
111 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.gz; fi
112 if test -f $(PACKAGE)-$(VERSION).tar.bz2; then \
113 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.bz2; fi
117 rpmbuild -ta $(distdir).tar.gz
120 pkgconfig_DATA = geany.pc
121 pkgconfigdir = $(libdir)/pkgconfig
123 desktopdir = $(datadir)/applications
124 desktop_in_files = geany.desktop
125 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
126 @INTLTOOL_DESKTOP_RULE@