Fix unused variable warning
[geany-mirror.git] / Makefile.am
blob71604a90532bff2d15491baaedef77d4038af5be
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         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: install-data-only
57         @$(NORMAL_INSTALL)
59 install-data-only:
60         @$(NORMAL_INSTALL)
61         $(mkinstalldirs) $(DESTDIR)$(pkgdatadir); \
62         $(INSTALL_DATA) $(srcdir)/COPYING $(DESTDIR)$(pkgdatadir)/GPL-2; \
63         for file in $(srcdir)/data/*; do \
64           if test -f $$file; then \
65             $(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/; \
66           fi \
67         done
68         $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/templates;
69         for file in $(srcdir)/data/templates/*; do \
70           if test -f $$file; then \
71             $(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/templates/; \
72           fi \
73         done
74         $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/templates/files;
75         for file in $(srcdir)/data/templates/files/*; do \
76           if test -f $$file; then \
77             $(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/templates/files/; \
78           fi \
79         done
80         $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/colorschemes;
81         for file in $(srcdir)/data/colorschemes/*; do \
82           if test -f $$file; then \
83             $(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/colorschemes/; \
84           fi \
85         done
88 BZIP2_ENV =--best
90 dist-bzip2: distdir
91         BZIP2=$(BZIP2_ENV) $(AMTAR) --bzip2 -chof $(distdir).tar.bz2 $(distdir)
92         -rm -rf $(distdir)
94 sign:
95         if test -f $(PACKAGE)-$(VERSION).tar.gz; then \
96                 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.gz; fi
97         if test -f $(PACKAGE)-$(VERSION).tar.bz2; then \
98                 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.bz2; fi
100 deb:
101         dpkg-buildpackage -rfakeroot
104 rpm: dist
105         rpmbuild -ta $(distdir).tar.gz
108 pkgconfig_DATA = geany.pc
109 pkgconfigdir = $(libdir)/pkgconfig
111 desktopdir = $(datadir)/applications
112 desktop_in_files = geany.desktop
113 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
114 @INTLTOOL_DESKTOP_RULE@