MISC: Dockerfile-apt.in: support multiple intent values next to clangbuild
authorTim Janik <timj@gnu.org>
Thu, 27 Oct 2016 22:09:43 +0000 (00:09 +0200)
committerTim Janik <timj@gnu.org>
Thu, 27 Oct 2016 22:09:43 +0000 (00:09 +0200)
Signed-off-by: Tim Janik <timj@gnu.org>
misc/Dockerfile-apt.in

index 9f8aeca..5d8ff14 100644 (file)
@@ -62,8 +62,8 @@ WORKDIR /usr/src/$PROJECT
 # Carry out distcheck test if desired
 RUN : && \
     case $INTENT in \
-      clangbuild) nice ./autogen.sh --prefix=/usr CC=clang CXX=clang++ ;; \
-      *)          nice ./autogen.sh --prefix=/usr ;; \
+      *clangbuild*) nice ./autogen.sh --prefix=/usr CC=clang CXX=clang++ ;; \
+      *)            nice ./autogen.sh --prefix=/usr ;; \
     esac
 RUN nice make -j`nproc`
 RUN nice make check