Add xml_indent_tags filetype setting for documents using the
[geany-mirror.git] / Makefile.am
blob59a6a102b1012dda0de73173867ef0567c3245e4
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 \
13         scintilla/makefile.win32 \
14         tagmanager/makefile.win32 \
15         src/makefile.win32
17 SYS_DATA_FILES = \
18         data/c99.tags \
19         data/php.tags \
20         data/python.tags \
21         data/pascal.tags \
22         data/html_entities.tags \
23         $(srcdir)/data/filetypes.* \
24         data/filetype_extensions.conf \
25         data/snippets.conf \
26         data/ui_toolbar.xml \
27         $(srcdir)/data/templates/* \
28         $(srcdir)/data/templates/files/* \
29         $(srcdir)/data/colorschemes/*
31 EXTRA_DIST = \
32         autogen.sh \
33         wscript \
34         waf \
35         geany.desktop.in \
36         geany.pc.in \
37         geany.spec \
38         geany.glade \
39         geany.gladep \
40         ChangeLog.pre-0-17 \
41         HACKING \
42         README.I18N \
43         README.Packagers \
44         po/intl_stats.sh \
45         intltool-extract.in \
46         intltool-merge.in \
47         intltool-update.in \
48         $(SYS_DATA_FILES) \
49         $(WIN32_BUILD_FILES)
51 DISTCLEANFILES = \
52         geany.desktop \
53         intltool-extract \
54         intltool-merge \
55         intltool-update
57 uninstall-local:
58         rm -rf $(DESTDIR)$(pkgdatadir);
60 install-data-local: install-data-only
61         @$(NORMAL_INSTALL)
63 install-data-only:
64         @$(NORMAL_INSTALL)
65         $(mkinstalldirs) $(DESTDIR)$(pkgdatadir); \
66         $(INSTALL_DATA) $(srcdir)/COPYING $(DESTDIR)$(pkgdatadir)/GPL-2; \
67         for file in $(srcdir)/data/*; do \
68           if test -f $$file; then \
69             $(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/; \
70           fi \
71         done
72         $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/templates;
73         for file in $(srcdir)/data/templates/*; do \
74           if test -f $$file; then \
75             $(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/templates/; \
76           fi \
77         done
78         $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/templates/files;
79         for file in $(srcdir)/data/templates/files/*; do \
80           if test -f $$file; then \
81             $(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/templates/files/; \
82           fi \
83         done
84         $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/colorschemes;
85         for file in $(srcdir)/data/colorschemes/*; do \
86           if test -f $$file; then \
87             $(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/colorschemes/; \
88           fi \
89         done
92 BZIP2_ENV =--best
94 dist-bzip2: distdir
95         BZIP2=$(BZIP2_ENV) $(AMTAR) --bzip2 -chof $(distdir).tar.bz2 $(distdir)
96         -rm -rf $(distdir)
98 sign:
99         if test -f $(PACKAGE)-$(VERSION).tar.gz; then \
100                 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.gz; fi
101         if test -f $(PACKAGE)-$(VERSION).tar.bz2; then \
102                 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.bz2; fi
104 deb:
105         dpkg-buildpackage -rfakeroot
108 rpm: dist
109         rpmbuild -ta $(distdir).tar.gz
112 pkgconfig_DATA = geany.pc
113 pkgconfigdir = $(libdir)/pkgconfig
115 desktopdir = $(datadir)/applications
116 desktop_in_files = geany.desktop
117 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
118 @INTLTOOL_DESKTOP_RULE@