summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7c5cabd..099bf5e 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,11 @@ build-applications:
@${MAKE} -C share/applications
test: all
- @PACKAGE=${PACKAGE} prove test/feh.t test/mandoc.t
+ @if ! uname -m | fgrep -q -e arm -e mips; then \
+ PACKAGE=${PACKAGE} prove test/feh.t test/mandoc.t; \
+ else \
+ PACKAGE=${PACKAGE} prove test/feh.t test/mandoc.t || cat test/imlib2-bug-notice; \
+ fi
test-x11: all
test/run-interactive
@@ -106,6 +110,8 @@ dist:
cp src/deps.mk /tmp/feh-${VERSION}/src/deps.mk
sed -i 's/^VERSION ?= .*$$/VERSION ?= ${VERSION}/' \
/tmp/feh-${VERSION}/config.mk
+ sed -i 's/^MAN_DATE ?= .*$$/MAN_DATE ?= ${MAN_DATE}/' \
+ /tmp/feh-${VERSION}/config.mk
tar -C /tmp -cjf ../feh-${VERSION}.tar.bz2 feh-${VERSION}
rm -r /tmp/feh-${VERSION}