Keybindings for plugins
[geany-mirror.git] / Makefile.am
blob8e45f180326ca42590d4a7190d60d9683051591f
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 if GTK3
30         $(top_srcdir)/data/geany.css
31 else
32         $(top_srcdir)/data/geany.gtkrc
33 endif
35 EXTRA_DIST = \
36         autogen.sh \
37         wscript \
38         waf \
39         geany.desktop.in \
40         geany.pc.in \
41         geany.spec \
42         ChangeLog.pre-0-17 \
43         ChangeLog.pre-1-22 \
44         HACKING \
45         README.I18N \
46         README.Packagers \
47         po/intl_stats.sh \
48         intltool-extract.in \
49         intltool-merge.in \
50         intltool-update.in \
51         $(SYS_DATA_FILES) \
52         $(WIN32_BUILD_FILES)
54 DISTCLEANFILES = \
55         geany.desktop \
56         intltool-extract \
57         intltool-merge \
58         intltool-update
60 uninstall-local:
61         rm -rf $(DESTDIR)$(pkgdatadir);
63 install-data-local: install-data-only
64         @$(NORMAL_INSTALL)
66 install-data-only:
67         @$(NORMAL_INSTALL)
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)/; \
73           fi \
74         done
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/; \
79           fi \
80         done
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/; \
85           fi \
86         done
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/; \
91           fi \
92         done
95 dist-hook:
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 ); \
104         else \
105                 echo 'A git clone is required to generate a ChangeLog' >&2; \
106         fi
109 sign:
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
116 rpm: dist
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@