medit/Makefile.am

50 lines
1.2 KiB
Makefile
Raw Normal View History

2010-08-30 22:19:58 -07:00
ACLOCAL_AMFLAGS = -I m4 $(ACLOCAL_FLAGS)
SUBDIRS = po po-gsv api doc moo
2010-08-30 22:19:58 -07:00
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)
2010-08-30 22:19:58 -07:00
endif MOO_OS_UNIX
2010-08-31 00:19:05 -07:00
EXTRA_DIST += \
tools/genenums.py \
tools/glade2c.py \
tools/xml2h.py
2010-09-01 02:17:08 -07:00
if MOO_DEV_MODE
2011-09-28 23:02:23 -07:00
DISTCHECK_CONFIGURE_FLAGS = MAKEFLAGS=-j3 CFLAGS="-Werror -Wall -O2" CXXFLAGS="-Werror -Wall -O2"
2010-09-01 02:17:08 -07:00
endif
2010-09-23 03:32:21 -07:00
CLEANFILES =
2011-12-05 02:09:29 -08:00
include plat/win32/Makefile.incl
2010-09-23 03:32:21 -07:00
if MOO_OS_WIN32
CLEANFILES += plat/win32/installer.iss
plat/win32/installer.iss: $(top_srcdir)/plat/win32/installer.iss.in $(top_builddir)/config.status
2010-09-30 23:12:35 -07:00
$(AM_V_at)$(MKDIR_P) plat/win32
$(AM_V_GEN)cd $(top_builddir) && ./config.status --silent --file=plat/win32/installer.iss
2010-09-23 03:32:21 -07:00
installer: plat/win32/installer.iss
$(MAKE) $(AM_MAKEFLAGS) install
$(MEDIT_INNO_COMPILER) plat/win32/installer.iss
endif
2010-10-01 00:52:14 -07:00
test:
$(MAKE) $(AM_MAKEFLAGS) all
$(MAKE) $(AM_MAKEFLAGS) check
$(MAKE) $(AM_MAKEFLAGS) uninstall
$(MAKE) $(AM_MAKEFLAGS) check
$(MAKE) $(AM_MAKEFLAGS) install
2011-01-04 00:12:34 -08:00
$(MAKE) $(AM_MAKEFLAGS) installcheck
fullcheck:
$(MAKE) $(AM_MAKEFLAGS) test
2011-01-04 00:12:34 -08:00
$(MAKE) $(AM_MAKEFLAGS) distcheck
2010-10-01 00:52:14 -07:00
@MOO_PO_SUBDIRS_RULE@