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
|
|
|
|
2006-07-29 12:17:30 +00:00
|
|
|
WIN32_BUILD_FILES = \
|
|
|
|
geany_private.rc \
|
|
|
|
win32-config.h \
|
|
|
|
makefile.win32 \
|
|
|
|
scintilla/makefile.win32 \
|
|
|
|
tagmanager/makefile.win32 \
|
|
|
|
src/makefile.win32
|
|
|
|
|
2006-08-01 16:12:45 +00:00
|
|
|
SYS_DATA_FILES = \
|
|
|
|
data/global.tags \
|
|
|
|
data/php.tags \
|
|
|
|
data/latex.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 \
|
2007-11-12 09:27:43 +00:00
|
|
|
data/snippets.conf
|
2006-08-01 16:12:45 +00:00
|
|
|
|
2005-11-22 12:26:26 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
autogen.sh \
|
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 \
|
|
|
|
geany.glade \
|
|
|
|
geany.gladep \
|
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);
|
2007-07-24 09:24:14 +00:00
|
|
|
rm -f $(DESTDIR)$(datadir)/pixmaps/geany.png;
|
|
|
|
rm -f $(DESTDIR)$(datadir)/pixmaps/geany.ico;
|
2006-02-14 21:56:34 +00:00
|
|
|
|
2005-11-22 12:26:26 +00:00
|
|
|
install-data-local:
|
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
if test -d $(srcdir)/pixmaps; then \
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps; \
|
2008-01-12 12:22:46 +00:00
|
|
|
$(INSTALL_DATA) $(srcdir)/pixmaps/geany.png $(DESTDIR)$(datadir)/pixmaps; \
|
2005-11-22 12:26:26 +00:00
|
|
|
fi
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir); \
|
2007-04-08 16:38:46 +00:00
|
|
|
$(INSTALL_DATA) $(srcdir)/data/global.tags $(DESTDIR)$(pkgdatadir); \
|
|
|
|
$(INSTALL_DATA) $(srcdir)/data/php.tags $(DESTDIR)$(pkgdatadir); \
|
|
|
|
$(INSTALL_DATA) $(srcdir)/data/pascal.tags $(DESTDIR)$(pkgdatadir); \
|
|
|
|
$(INSTALL_DATA) $(srcdir)/data/latex.tags $(DESTDIR)$(pkgdatadir); \
|
|
|
|
$(INSTALL_DATA) $(srcdir)/data/html_entities.tags $(DESTDIR)$(pkgdatadir); \
|
|
|
|
$(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
|
|
|
|
|
|
|
|
dist-hook:
|
|
|
|
if test -d pixmaps; then \
|
|
|
|
mkdir $(distdir)/pixmaps; \
|
2007-04-08 16:38:46 +00:00
|
|
|
for pixmap in $(srcdir)/pixmaps/*; do \
|
2005-11-22 12:26:26 +00:00
|
|
|
if test -f $$pixmap; then \
|
|
|
|
cp -p $$pixmap $(distdir)/pixmaps; \
|
|
|
|
fi \
|
|
|
|
done \
|
|
|
|
fi
|
|
|
|
|
|
|
|
BZIP2_ENV =--best
|
|
|
|
|
|
|
|
dist-bzip2: distdir
|
2008-04-22 15:04:50 +00:00
|
|
|
BZIP2=$(BZIP2_ENV) $(AMTAR) --bzip2 -chof $(distdir).tar.bz2 $(distdir)
|
2005-11-22 12:26:26 +00:00
|
|
|
-rm -rf $(distdir)
|
|
|
|
|
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
|
|
|
deb:
|
|
|
|
dpkg-buildpackage -rfakeroot
|
|
|
|
|
|
|
|
|
|
|
|
rpm: dist
|
|
|
|
rpmbuild -ta $(distdir).tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
logodir = $(datadir)/pixmaps
|
2007-07-17 08:21:19 +00:00
|
|
|
|
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
|
|
|
|
desktop_in_files = geany.desktop.in
|
|
|
|
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
|
|
|
|
@INTLTOOL_DESKTOP_RULE@
|