Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
[geany-mirror.git] / Makefile.am
blob21cb7f4c2fdad0003eeb5e87d99c54ede6a75b7c
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 WIN32_BUILD_FILES = \
8         geany_private.rc \
9         win32-config.h \
10         makefile.win32 \
11         scintilla/makefile.win32 \
12         tagmanager/makefile.win32 \
13         src/makefile.win32
15 SYS_DATA_FILES = \
16         data/c99.tags \
17         data/php.tags \
18         data/python.tags \
19         data/pascal.tags \
20         data/html_entities.tags \
21         $(srcdir)/data/filetypes.* \
22         data/filetype_extensions.conf \
23         data/snippets.conf \
24         data/ui_toolbar.xml \
25         $(srcdir)/data/templates/files/*
27 EXTRA_DIST = \
28         autogen.sh \
29         wscript \
30         waf \
31         geany.desktop.in \
32         geany.pc.in \
33         geany.spec \
34         geany.glade \
35         geany.gladep \
36         ChangeLog.pre-0-17 \
37         HACKING \
38         README.I18N \
39         README.Packagers \
40         po/intl_stats.sh \
41         intltool-extract.in \
42         intltool-merge.in \
43         intltool-update.in \
44         $(SYS_DATA_FILES) \
45         $(WIN32_BUILD_FILES)
47 DISTCLEANFILES = \
48         geany.desktop \
49         intltool-extract \
50         intltool-merge \
51         intltool-update
53 uninstall-local:
54         rm -rf $(DESTDIR)$(pkgdatadir);
56 install-data-local:
57         @$(NORMAL_INSTALL)
58         $(mkinstalldirs) $(DESTDIR)$(pkgdatadir); \
59         $(INSTALL_DATA) $(srcdir)/data/c99.tags $(DESTDIR)$(pkgdatadir); \
60         $(INSTALL_DATA) $(srcdir)/data/php.tags $(DESTDIR)$(pkgdatadir); \
61         $(INSTALL_DATA) $(srcdir)/data/python.tags $(DESTDIR)$(pkgdatadir); \
62         $(INSTALL_DATA) $(srcdir)/data/pascal.tags $(DESTDIR)$(pkgdatadir); \
63         $(INSTALL_DATA) $(srcdir)/data/html_entities.tags $(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)/; \
68           fi \
69         done
70         $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/templates;
71         $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/templates/files;
72         for file in $(srcdir)/data/templates/files/*; do \
73           if test -f $$file; then \
74             $(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/templates/files/; \
75           fi \
76         done
79 BZIP2_ENV =--best
81 dist-bzip2: distdir
82         BZIP2=$(BZIP2_ENV) $(AMTAR) --bzip2 -chof $(distdir).tar.bz2 $(distdir)
83         -rm -rf $(distdir)
85 sign:
86         if test -f $(PACKAGE)-$(VERSION).tar.gz; then \
87                 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.gz; fi
88         if test -f $(PACKAGE)-$(VERSION).tar.bz2; then \
89                 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.bz2; fi
91 deb:
92         dpkg-buildpackage -rfakeroot
95 rpm: dist
96         rpmbuild -ta $(distdir).tar.gz
99 pkgconfig_DATA = geany.pc
100 pkgconfigdir = $(libdir)/pkgconfig
102 desktopdir = $(datadir)/applications
103 desktop_in_files = geany.desktop
104 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
105 @INTLTOOL_DESKTOP_RULE@