2010-08-30 22:19:58 -07:00
|
|
|
ACLOCAL_AMFLAGS = -I m4 $(ACLOCAL_FLAGS)
|
|
|
|
|
2010-12-11 00:28:34 -08:00
|
|
|
SUBDIRS = po po-gsv api doc moo
|
2010-08-30 22:19:58 -07:00
|
|
|
|
2011-12-05 22:43:47 -08:00
|
|
|
EXTRA_DIST = \
|
2010-08-31 00:19:05 -07:00
|
|
|
tools/genenums.py \
|
|
|
|
tools/glade2c.py \
|
|
|
|
tools/xml2h.py
|
2010-09-01 02:17:08 -07:00
|
|
|
|
2011-12-29 00:22:49 -08:00
|
|
|
DISTCHECK_CONFIGURE_FLAGS =
|
2010-09-01 02:17:08 -07:00
|
|
|
if MOO_DEV_MODE
|
2016-10-02 21:14:12 -07:00
|
|
|
DISTCHECK_CONFIGURE_FLAGS += MAKEFLAGS=-j3
|
2011-12-29 00:22:49 -08:00
|
|
|
endif
|
2013-05-11 21:23:04 -07:00
|
|
|
if MOO_STRICT_MODE
|
|
|
|
DISTCHECK_CONFIGURE_FLAGS += --enable-strict
|
2010-09-01 02:17:08 -07:00
|
|
|
endif
|
2010-09-23 03:32:21 -07:00
|
|
|
|
|
|
|
CLEANFILES =
|
|
|
|
|
2016-10-03 00:15:41 -07:00
|
|
|
MOO_INTL
|
|
|
|
|
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
|
2013-05-16 22:39:16 -07:00
|
|
|
installer: plat/win32/installer.iss install
|
2010-09-23 03:32:21 -07:00
|
|
|
$(MEDIT_INNO_COMPILER) plat/win32/installer.iss
|
2013-05-04 11:02:42 -07:00
|
|
|
copy:
|
|
|
|
cp moo/medit.exe "/win/Program Files (x86)/medit/bin/"
|
2013-05-16 22:39:16 -07:00
|
|
|
bd_tmpdir = medit-win-dist-tmp
|
|
|
|
bd_distdir = $(PACKAGE)-$(VERSION)
|
|
|
|
bd_pzip = $(PACKAGE)-portable-$(VERSION)
|
|
|
|
bd_zip = $(PACKAGE)-$(VERSION)
|
|
|
|
portable: install
|
|
|
|
rm -fr $(bd_tmpdir)
|
|
|
|
mkdir $(bd_tmpdir)
|
|
|
|
cp -lR ${prefix} $(bd_tmpdir)/$(bd_distdir)
|
|
|
|
cd $(bd_tmpdir) && zip -r9 $(bd_zip).zip $(bd_distdir)
|
|
|
|
echo "This file enables portable mode for medit" > $(bd_tmpdir)/$(bd_distdir)/bin/$(MEDIT_PORTABLE_MAGIC_FILE_NAME)
|
|
|
|
cd $(bd_tmpdir) && zip -r9 $(bd_pzip).zip $(bd_distdir)
|
|
|
|
mv $(bd_tmpdir)/$(bd_pzip).zip $(bd_tmpdir)/$(bd_zip).zip .
|
|
|
|
rm -fr $(bd_tmpdir)
|
|
|
|
bdist: installer portable
|
2010-09-23 03:32:21 -07:00
|
|
|
endif
|
2010-10-01 00:52:14 -07:00
|
|
|
|
2011-01-02 18:46:01 -08: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
|
2011-01-02 18:46:01 -08:00
|
|
|
fullcheck:
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) test
|
2011-01-04 00:12:34 -08:00
|
|
|
$(MAKE) $(AM_MAKEFLAGS) distcheck
|
2011-01-02 18:46:01 -08:00
|
|
|
|
2010-10-01 00:52:14 -07:00
|
|
|
@MOO_PO_SUBDIRS_RULE@
|