Remove unnecessary case statement braces.
[geany-mirror.git] / Makefile.am
blob2b211ee3d48fbbb3234509da4077762a3fdb5770
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/latex.tags \
20         data/pascal.tags \
21         data/html_entities.tags \
22         $(srcdir)/data/filetypes.* \
23         data/filetype_extensions.conf \
24         data/snippets.conf \
25         data/ui_toolbar.xml \
26         $(srcdir)/data/templates/files/*
28 EXTRA_DIST = \
29         autogen.sh \
30         wscript \
31         waf \
32         geany.desktop.in \
33         geany.pc.in \
34         geany.spec \
35         geany.glade \
36         geany.gladep \
37         ChangeLog.pre-0-17 \
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:
58         @$(NORMAL_INSTALL)
59         $(mkinstalldirs) $(DESTDIR)$(pkgdatadir); \
60         $(INSTALL_DATA) $(srcdir)/data/c99.tags $(DESTDIR)$(pkgdatadir); \
61         $(INSTALL_DATA) $(srcdir)/data/php.tags $(DESTDIR)$(pkgdatadir); \
62         $(INSTALL_DATA) $(srcdir)/data/python.tags $(DESTDIR)$(pkgdatadir); \
63         $(INSTALL_DATA) $(srcdir)/data/pascal.tags $(DESTDIR)$(pkgdatadir); \
64         $(INSTALL_DATA) $(srcdir)/data/latex.tags $(DESTDIR)$(pkgdatadir); \
65         $(INSTALL_DATA) $(srcdir)/data/html_entities.tags $(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         $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/templates/files;
74         for file in $(srcdir)/data/templates/files/*; do \
75           if test -f $$file; then \
76             $(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/templates/files/; \
77           fi \
78         done
81 BZIP2_ENV =--best
83 dist-bzip2: distdir
84         BZIP2=$(BZIP2_ENV) $(AMTAR) --bzip2 -chof $(distdir).tar.bz2 $(distdir)
85         -rm -rf $(distdir)
87 sign:
88         if test -f $(PACKAGE)-$(VERSION).tar.gz; then \
89                 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.gz; fi
90         if test -f $(PACKAGE)-$(VERSION).tar.bz2; then \
91                 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.bz2; fi
93 deb:
94         dpkg-buildpackage -rfakeroot
97 rpm: dist
98         rpmbuild -ta $(distdir).tar.gz
101 pkgconfig_DATA = geany.pc
102 pkgconfigdir = $(libdir)/pkgconfig
104 desktopdir = $(datadir)/applications
105 desktop_in_files = geany.desktop
106 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
107 @INTLTOOL_DESKTOP_RULE@