r5118 | eht16 | 2010-08-05 22:54:18 +0100 (Thu, 05 Aug 2010) | 1 line
[geany-mirror.git] / Makefile.am
blob0bf780567689f6d57276fed7da23fdfa60805c85
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)/COPYING $(DESTDIR)$(pkgdatadir)/GPL-2; \
60         for file in $(srcdir)/data/*; do \
61           if test -f $$file; then \
62             $(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/; \
63           fi \
64         done
65         $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/templates;
66         $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/templates/files;
67         for file in $(srcdir)/data/templates/files/*; do \
68           if test -f $$file; then \
69             $(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/templates/files/; \
70           fi \
71         done
74 BZIP2_ENV =--best
76 dist-bzip2: distdir
77         BZIP2=$(BZIP2_ENV) $(AMTAR) --bzip2 -chof $(distdir).tar.bz2 $(distdir)
78         -rm -rf $(distdir)
80 sign:
81         if test -f $(PACKAGE)-$(VERSION).tar.gz; then \
82                 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.gz; fi
83         if test -f $(PACKAGE)-$(VERSION).tar.bz2; then \
84                 gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.bz2; fi
86 deb:
87         dpkg-buildpackage -rfakeroot
90 rpm: dist
91         rpmbuild -ta $(distdir).tar.gz
94 pkgconfig_DATA = geany.pc
95 pkgconfigdir = $(libdir)/pkgconfig
97 desktopdir = $(datadir)/applications
98 desktop_in_files = geany.desktop
99 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
100 @INTLTOOL_DESKTOP_RULE@