medit/Makefile.ug

71 lines
1.8 KiB
Makefile
Raw Normal View History

2008-05-22 22:40:19 -05:00
AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip
2008-08-16 01:05:22 -05:00
EXTRA_DIST += \
autogen.sh \
mingw-configure \
2007-06-24 13:01:13 -05:00
COPYING.GPL \
COPYING \
2007-06-16 02:13:08 -05:00
LICENSE \
2008-09-13 13:00:42 -05:00
THANKS
2005-06-22 18:20:32 +00:00
@MOO_PO_SUBDIRS_RULE@
2007-06-18 05:18:02 -05:00
@MOO_PO_SUBDIRS_RULE2@
2008-08-16 01:05:22 -05:00
BUILT_SOURCES += po-subdirs-stamp po-subdirs-stamp-2
2008-09-14 03:09:52 -05:00
DIST_SUBDIRS = moo medit po po-gsv doc
if MOO_ENABLE_NLS
2008-01-10 13:30:38 -06:00
po_subdirs = po po-gsv
endif
2008-01-10 13:30:38 -06:00
if MOO_BUILD_MEDIT
2008-02-07 11:05:35 -06:00
SUBDIRS = . $(po_subdirs) doc moo medit
2008-01-10 13:30:38 -06:00
else
2008-02-07 11:05:35 -06:00
SUBDIRS = . $(po_subdirs) doc moo
2008-01-10 13:30:38 -06:00
endif
2008-05-22 22:40:19 -05:00
moo-config-dirs.h: moo-config-dirs.h.stamp
moo-config-dirs.h.stamp: Makefile
{ echo '#define MOO_DATA_DIR "$(MOO_DATA_DIR)"'; \
echo '#define MOO_LIB_DIR "$(MOO_LIB_DIR)"'; \
echo '#define MOO_LOCALE_DIR "$(MOO_LOCALE_DIR)"'; \
echo '#define MOO_HELP_DIR "$(MOO_HELP_DIR)"'; \
} | sed '/""/d' > moo-config-dirs.h.tmp || exit 1
cmp -s moo-config-dirs.h moo-config-dirs.h.tmp || \
mv moo-config-dirs.h.tmp moo-config-dirs.h || exit 1
rm -f moo-config-dirs.h.tmp
echo stamp > moo-config-dirs.h.stamp
BUILT_SOURCES += moo-config-dirs.h.stamp
2008-08-16 01:05:22 -05:00
CLEANFILES += moo-config-dirs.h.stamp moo-config-dirs.h
2008-05-22 22:40:19 -05:00
2008-08-16 01:05:22 -05:00
ACLOCAL_AMFLAGS = -I m4 -I ugly/m4
2006-08-03 00:39:06 -05:00
2008-08-16 01:05:22 -05:00
DISTCLEANFILES += \
configargs.h \
2006-08-13 06:05:50 -05:00
intltool-extract \
intltool-merge \
intltool-update \
po-subdirs-stamp-2 \
po-subdirs-stamp
# DISTCHECK_CONFIGURE_FLAGS = --enable-unit-tests
distuninstallcheck_listfiles = find . -type f -print | grep -v share/mime/ | grep -v share/icons/hicolor
2007-08-06 13:17:25 -05:00
2008-09-13 13:00:42 -05:00
snapshot:
if [ -d $(top_srcdir)/.hg ]; then \
suffix=r`hg tip --template '{rev}'`; \
else \
suffix=`date +%F-%H-%M`; \
fi; \
$(MAKE) dist && mv $(PACKAGE)-$(VERSION).tar.bz2 $(PACKAGE)-"$$suffix".tar.bz2
win-test-stuff:
2008-08-28 22:50:13 -05:00
$(MAKE) all
mkdir -p test-stuff/test-data
cp moo/.libs/libmoo.dll test-stuff/
2008-09-14 03:09:52 -05:00
cp -r $(srcdir)/medit/data/* test-stuff/test-data/
cp medit/.libs/medit.exe test-stuff/
2008-08-25 04:52:00 -05:00
2008-08-25 04:59:57 -05:00
include dist/win32/Makefile.incl
2008-08-29 04:39:42 -05:00
include dist/mac/Makefile.incl