medit/Makefile.am
2010-11-07 21:32:34 -08:00

37 lines
884 B
Makefile

ACLOCAL_AMFLAGS = -I m4 $(ACLOCAL_FLAGS)
SUBDIRS = po po-gsv doc moo
unix_scripts = \
plat/unix/xdg-open \
plat/unix/xdg-email \
plat/unix/moo-open-html-help
EXTRA_DIST = $(unix_scripts)
if MOO_OS_UNIX
scriptsdir = $(MOO_DATA_DIR)/scripts
scripts_SCRIPTS = $(unix_scripts)
endif MOO_OS_UNIX
EXTRA_DIST += \
tools/genenums.py \
tools/glade2c.py \
tools/xml2h.py
if MOO_DEV_MODE
DISTCHECK_CONFIGURE_FLAGS = MAKEFLAGS=-j3
endif
CLEANFILES =
if MOO_OS_WIN32
CLEANFILES += plat/win32/installer.iss
plat/win32/installer.iss: $(top_srcdir)/plat/win32/installer.iss.in $(top_builddir)/config.status
$(AM_V_at)$(MKDIR_P) plat/win32
$(AM_V_GEN)cd $(top_builddir) && ./config.status --silent --file=plat/win32/installer.iss
installer: plat/win32/installer.iss
$(MAKE) $(AM_MAKEFLAGS) install
$(MEDIT_INNO_COMPILER) plat/win32/installer.iss
endif
@MOO_PO_SUBDIRS_RULE@