Update Scintilla to version 3.2.1
[geany-mirror.git] / Makefile.am
blobdb612be7de2acbf4dd03ab5c7f477a4468cc61e8
1 ## Process this file with automake to produce Makefile.in
3 SUBDIRS = tagmanager scintilla src plugins icons po doc
5 AUTOMAKE_OPTIONS =      1.7
7 ACLOCAL_AMFLAGS = -I m4
9 WIN32_BUILD_FILES = \
10         geany_private.rc \
11         win32-config.h \
12         makefile.win32
14 SYS_DATA_FILES = \
15         data/c99.tags \
16         data/php.tags \
17         data/python.tags \
18         data/pascal.tags \
19         data/html_entities.tags \
20         $(srcdir)/data/filetypes.* \
21         data/filetype_extensions.conf \
22         data/snippets.conf \
23         data/ui_toolbar.xml \
24         $(srcdir)/data/templates/* \
25         $(srcdir)/data/templates/files/* \
26         $(srcdir)/data/colorschemes/* \
27         $(top_srcdir)/data/geany.glade
29 EXTRA_DIST = \
30         autogen.sh \
31         wscript \
32         waf \
33         geany.desktop.in \
34         geany.pc.in \
35         geany.spec \
36         ChangeLog.pre-0-17 \
37         ChangeLog.pre-1-22 \
38         HACKING \
39         README.I18N \
40         README.Packagers \
41         po/intl_stats.sh \
42         intltool-extract.in \
43         intltool-merge.in \
44         intltool-update.in \
45         $(SYS_DATA_FILES) \
46         $(WIN32_BUILD_FILES)
48 DISTCLEANFILES = \
49         geany.desktop \
50         intltool-extract \
51         intltool-merge \
52         intltool-update
54 uninstall-local:
55         rm -rf $(DESTDIR)$(pkgdatadir);
57 install-data-local: install-data-only
58         @$(NORMAL_INSTALL)
60 install-data-only:
61         @$(NORMAL_INSTALL)
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)/; \
67           fi \
68         done
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/; \
73           fi \
74         done
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/; \
79           fi \
80         done
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/; \
85           fi \
86         done
89 dist-hook:
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 ); \
98         else \
99                 echo 'A git clone is required to generate a ChangeLog' >&2; \
100         fi
103 sign:
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
110 rpm: dist
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@