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 | |
parent | fe5d071784eaa97925c75db5ebadd395ae796410 (diff) | |
download | fbida-b615a1555ea2f1e751bee5a042d4433245330cf0.tar.gz |
libjpeg version sanity check
-rw-r--r-- | GNUmakefile | 8 | ||||
-rw-r--r-- | jpeg/README | 3 |
2 files changed, 9 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) diff --git a/jpeg/README b/jpeg/README index 76e7464..0d36ad6 100644 --- a/jpeg/README +++ b/jpeg/README @@ -1,2 +1,5 @@ some source files copyed over from The Independent JPEG Group's JPEG software + +There is a subdirectory for each JPEG_LIB_VERSION to handle +incompatible data structures of the jpeg library versions. |