diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2011-06-01 09:18:06 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2011-06-01 09:18:06 +0200 |
commit | b615a1555ea2f1e751bee5a042d4433245330cf0 (patch) | |
tree | 883a7c2edd34f59142ae2a7e74c479049fe0c1b8 /GNUmakefile | |
parent | fe5d071784eaa97925c75db5ebadd395ae796410 (diff) | |
download | fbida-b615a1555ea2f1e751bee5a042d4433245330cf0.tar.gz |
libjpeg version sanity check
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile index 1a3aed4..1ef958b 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -186,8 +186,12 @@ fbi: $(OBJS_FBI) $(OBJS_READER) ######################################################################## # general rules -.PHONY: build install clean distclean realclean -build: $(TARGETS) +.PHONY: check-libjpeg build install clean distclean realclean +build: check-libjpeg $(TARGETS) + +check-libjpeg: + @test -d jpeg/$(JPEG_VER) || \ + ( echo "Need files from libjpeg $(JPEG_VER) in jpeg/"; false) install: build $(INSTALL_DIR) $(bindir) |