2006-11-25 23:08:56 -08:00
|
|
|
AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip foreign nostdinc
|
|
|
|
|
|
|
|
m4files = \
|
|
|
|
m4/moo-comps.m4 \
|
|
|
|
m4/moo-debug.m4 \
|
|
|
|
m4/moo-dirs.m4 \
|
|
|
|
m4/moo-fam.m4 \
|
|
|
|
m4/moo-flags.m4 \
|
|
|
|
m4/moo-funcs.m4 \
|
|
|
|
m4/moo-gtk.m4 \
|
|
|
|
m4/moo-i18n.m4 \
|
|
|
|
m4/moo-os.m4 \
|
|
|
|
m4/moo-pcre.m4 \
|
|
|
|
m4/moo-progs.m4 \
|
|
|
|
m4/moo-pygtk.m4 \
|
|
|
|
m4/moo-python.m4 \
|
|
|
|
m4/moo-reloc.m4 \
|
|
|
|
m4/moo-version.m4 \
|
|
|
|
m4/moo-xdgmime.m4 \
|
|
|
|
m4/moo-xml.m4
|
2006-04-30 19:24:35 -07:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2006-11-25 23:08:56 -08:00
|
|
|
$(m4files) \
|
2006-04-30 19:24:35 -07:00
|
|
|
autogen.sh \
|
|
|
|
mingw-configure \
|
|
|
|
cygwin-configure \
|
2006-06-12 10:54:13 -07:00
|
|
|
makewin \
|
2006-08-31 08:10:57 -07:00
|
|
|
COPYING.lib \
|
2006-08-02 22:39:06 -07:00
|
|
|
THANKS \
|
|
|
|
intltool-extract.in \
|
|
|
|
intltool-merge.in \
|
|
|
|
intltool-update.in \
|
2006-08-13 12:27:04 -07:00
|
|
|
mkpotsubdirs \
|
2006-08-02 22:39:06 -07:00
|
|
|
medit.desktop.in
|
2005-06-22 11:20:32 -07:00
|
|
|
|
2006-11-25 23:08:56 -08:00
|
|
|
all-am: pot-subdirs-stamp wininstaller/medit.iss m4-stamp
|
|
|
|
|
|
|
|
m4-stamp: $(m4files)
|
|
|
|
echo stamp > m4-stamp
|
|
|
|
for f in $(m4files); do \
|
|
|
|
if test $(srcdir)/$$f -nt $(srcdir)/configure; then \
|
|
|
|
touch $(srcdir)/configure.ac; \
|
|
|
|
fi \
|
|
|
|
done
|
2006-08-13 04:47:59 -07:00
|
|
|
|
|
|
|
pot-subdirs-stamp: po/POTFILES.in
|
2006-08-13 12:27:04 -07:00
|
|
|
$(SHELL) $(srcdir)/mkpotsubdirs "$(srcdir)"
|
2006-08-13 04:47:59 -07:00
|
|
|
CLEANFILES = pot-subdirs-stamp
|
|
|
|
|
2006-11-25 23:08:56 -08:00
|
|
|
DIST_SUBDIRS = moo tests po
|
2006-08-13 04:47:59 -07:00
|
|
|
# need to create pot-subdirs-stamp before it goes to po/
|
2006-11-25 23:08:56 -08:00
|
|
|
SUBDIRS = . moo tests po
|
2005-10-13 07:08:18 -07:00
|
|
|
|
2006-08-23 21:59:00 -07:00
|
|
|
ACLOCAL_AMFLAGS = -I $(top_srcdir)/m4
|
2005-11-05 04:34:09 -08:00
|
|
|
|
2006-08-02 22:39:06 -07:00
|
|
|
@INTLTOOL_DESKTOP_RULE@
|
|
|
|
DESKTOP_IN_FILES = medit.desktop.in
|
|
|
|
DESKTOP_FILES =$(DESKTOP_IN_FILES:.desktop.in=.desktop)
|
2006-04-28 14:07:52 -07:00
|
|
|
desktopdir = $(datadir)/applications
|
2006-08-02 22:39:06 -07:00
|
|
|
desktop_DATA = $(DESKTOP_FILES)
|
|
|
|
|
2006-08-13 04:05:50 -07:00
|
|
|
DISTCLEANFILES = \
|
2006-11-25 23:08:56 -08:00
|
|
|
m4-stamp \
|
|
|
|
configargs.h \
|
2006-08-13 04:05:50 -07:00
|
|
|
$(DESKTOP_FILES) \
|
|
|
|
intltool-extract \
|
|
|
|
intltool-merge \
|
|
|
|
intltool-update
|
|
|
|
|
2006-04-28 14:07:52 -07:00
|
|
|
appicondir = $(datadir)/pixmaps
|
|
|
|
appicon_DATA = moo/mooutils/pixmaps/medit.png
|
2006-06-11 01:03:41 -07:00
|
|
|
hicolor = $(datadir)/icons/hicolor
|
|
|
|
iconthemedir = $(hicolor)/48x48/apps
|
2006-05-04 16:17:50 -07:00
|
|
|
icontheme_DATA = moo/mooutils/pixmaps/medit.png
|
2005-11-05 05:49:44 -08:00
|
|
|
|
2006-06-23 00:31:37 -07:00
|
|
|
# update_icon_cache = gtk-update-icon-cache -f -t $(hicolor)
|
|
|
|
#
|
|
|
|
# install-data-hook:
|
|
|
|
# if echo "Updating icon cache" && $(update_icon_cache); then \
|
|
|
|
# echo "Done."; \
|
|
|
|
# else \
|
|
|
|
# echo "*** GTK icon cache not updated. After install, run this:";\
|
|
|
|
# echo $(update_icon_cache); \
|
|
|
|
# fi
|