2005-11-22 12:26:26 +00:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2007-07-20 16:33:16 +00:00
|
|
|
SUBDIRS = tagmanager scintilla src plugins icons po doc
|
2005-11-22 12:26:26 +00:00
|
|
|
|
2008-10-18 16:59:22 +00:00
|
|
|
AUTOMAKE_OPTIONS = 1.7
|
|
|
|
|
2010-08-23 12:37:17 +00:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
2006-07-29 12:17:30 +00:00
|
|
|
WIN32_BUILD_FILES = \
|
|
|
|
geany_private.rc \
|
2010-01-31 14:20:47 +00:00
|
|
|
win32-config.h \
|
2011-10-06 12:36:28 +00:00
|
|
|
makefile.win32
|
2006-07-29 12:17:30 +00:00
|
|
|
|
2006-08-01 16:12:45 +00:00
|
|
|
SYS_DATA_FILES = \
|
2009-01-17 18:44:38 +00:00
|
|
|
data/c99.tags \
|
2006-08-01 16:12:45 +00:00
|
|
|
data/php.tags \
|
2008-06-10 16:39:17 +00:00
|
|
|
data/python.tags \
|
2006-08-23 16:51:36 +00:00
|
|
|
data/pascal.tags \
|
2006-08-01 16:12:45 +00:00
|
|
|
data/html_entities.tags \
|
2007-04-08 16:38:46 +00:00
|
|
|
$(srcdir)/data/filetypes.* \
|
2007-06-17 17:56:48 +00:00
|
|
|
data/filetype_extensions.conf \
|
2008-12-06 18:58:03 +00:00
|
|
|
data/snippets.conf \
|
2009-09-30 17:40:10 +00:00
|
|
|
data/ui_toolbar.xml \
|
2010-06-09 12:27:58 +00:00
|
|
|
$(srcdir)/data/templates/* \
|
2010-10-20 12:29:27 +00:00
|
|
|
$(srcdir)/data/templates/files/* \
|
2011-09-21 21:24:50 -07:00
|
|
|
$(srcdir)/data/colorschemes/* \
|
2012-09-28 04:30:57 +02:00
|
|
|
$(top_srcdir)/data/geany.glade
|
|
|
|
|
|
|
|
if GTK3
|
|
|
|
$(top_srcdir)/data/geany.css
|
|
|
|
else
|
2012-09-29 20:18:19 +02:00
|
|
|
$(top_srcdir)/data/geany.gtkrc
|
2012-09-28 04:30:57 +02:00
|
|
|
endif
|
2006-08-01 16:12:45 +00:00
|
|
|
|
2005-11-22 12:26:26 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
autogen.sh \
|
2008-06-05 14:05:55 +00:00
|
|
|
wscript \
|
2008-11-16 17:52:54 +00:00
|
|
|
waf \
|
2006-01-15 18:44:38 +00:00
|
|
|
geany.desktop.in \
|
2008-03-13 12:15:26 +00:00
|
|
|
geany.pc.in \
|
2005-11-22 12:26:26 +00:00
|
|
|
geany.spec \
|
2009-02-15 14:06:12 +00:00
|
|
|
ChangeLog.pre-0-17 \
|
2012-06-17 19:35:12 +02:00
|
|
|
ChangeLog.pre-1-22 \
|
2007-02-24 15:03:18 +00:00
|
|
|
HACKING \
|
|
|
|
README.I18N \
|
2008-02-10 16:46:31 +00:00
|
|
|
README.Packagers \
|
2008-04-08 14:44:34 +00:00
|
|
|
po/intl_stats.sh \
|
2007-07-17 08:21:19 +00:00
|
|
|
intltool-extract.in \
|
|
|
|
intltool-merge.in \
|
|
|
|
intltool-update.in \
|
2006-08-01 16:12:45 +00:00
|
|
|
$(SYS_DATA_FILES) \
|
2006-07-29 12:17:30 +00:00
|
|
|
$(WIN32_BUILD_FILES)
|
2005-11-22 12:26:26 +00:00
|
|
|
|
2007-07-17 08:21:19 +00:00
|
|
|
DISTCLEANFILES = \
|
|
|
|
geany.desktop \
|
|
|
|
intltool-extract \
|
|
|
|
intltool-merge \
|
|
|
|
intltool-update
|
|
|
|
|
2006-02-14 21:56:34 +00:00
|
|
|
uninstall-local:
|
|
|
|
rm -rf $(DESTDIR)$(pkgdatadir);
|
|
|
|
|
2010-10-29 14:59:32 +00:00
|
|
|
install-data-local: install-data-only
|
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
|
|
|
|
install-data-only:
|
2005-11-22 12:26:26 +00:00
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir); \
|
2007-04-08 16:38:46 +00:00
|
|
|
$(INSTALL_DATA) $(srcdir)/COPYING $(DESTDIR)$(pkgdatadir)/GPL-2; \
|
2005-11-22 12:26:26 +00:00
|
|
|
for file in $(srcdir)/data/*; do \
|
|
|
|
if test -f $$file; then \
|
|
|
|
$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/; \
|
|
|
|
fi \
|
|
|
|
done
|
2009-09-30 17:40:10 +00:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/templates;
|
2010-06-09 12:27:58 +00:00
|
|
|
for file in $(srcdir)/data/templates/*; do \
|
|
|
|
if test -f $$file; then \
|
|
|
|
$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/templates/; \
|
|
|
|
fi \
|
|
|
|
done
|
2009-09-30 17:40:10 +00:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/templates/files;
|
|
|
|
for file in $(srcdir)/data/templates/files/*; do \
|
|
|
|
if test -f $$file; then \
|
|
|
|
$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/templates/files/; \
|
|
|
|
fi \
|
|
|
|
done
|
2010-10-20 12:29:27 +00:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/colorschemes;
|
|
|
|
for file in $(srcdir)/data/colorschemes/*; do \
|
|
|
|
if test -f $$file; then \
|
|
|
|
$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/colorschemes/; \
|
|
|
|
fi \
|
|
|
|
done
|
2005-11-22 12:26:26 +00:00
|
|
|
|
|
|
|
|
2012-06-17 19:35:12 +02:00
|
|
|
dist-hook:
|
|
|
|
@if test -d "$(top_srcdir)/.git"; then \
|
|
|
|
echo ' GEN ChangeLog'; \
|
|
|
|
( cd "$(top_srcdir)" && \
|
|
|
|
echo '# Generated by Makefile. Do not edit.' && echo && \
|
|
|
|
git log --stat 0.21.0.. ) > ChangeLog.tmp \
|
|
|
|
&& mv -f ChangeLog.tmp "$(distdir)/ChangeLog" \
|
|
|
|
|| ( rm -f ChangeLog.tmp ; \
|
|
|
|
echo 'Failed to generate ChangeLog' >&2 ); \
|
|
|
|
else \
|
|
|
|
echo 'A git clone is required to generate a ChangeLog' >&2; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
2008-04-22 15:04:50 +00:00
|
|
|
sign:
|
|
|
|
if test -f $(PACKAGE)-$(VERSION).tar.gz; then \
|
|
|
|
gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.gz; fi
|
|
|
|
if test -f $(PACKAGE)-$(VERSION).tar.bz2; then \
|
|
|
|
gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.bz2; fi
|
|
|
|
|
2005-11-22 12:26:26 +00:00
|
|
|
|
|
|
|
rpm: dist
|
|
|
|
rpmbuild -ta $(distdir).tar.gz
|
|
|
|
|
|
|
|
|
2008-03-13 12:15:26 +00:00
|
|
|
pkgconfig_DATA = geany.pc
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
|
2007-07-17 08:21:19 +00:00
|
|
|
desktopdir = $(datadir)/applications
|
2008-06-06 14:27:08 +00:00
|
|
|
desktop_in_files = geany.desktop
|
2007-07-17 08:21:19 +00:00
|
|
|
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
|
|
|
|
@INTLTOOL_DESKTOP_RULE@
|