From 2259c736df7243b6068fff155813f7c6806bd53f Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Wed, 8 Sep 2021 12:58:56 +0000 Subject: [PATCH] more hacks to docker build files --- codepot/docker/Makefile.am | 12 ++++++------ codepot/docker/Makefile.in | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/codepot/docker/Makefile.am b/codepot/docker/Makefile.am index e3c129cd..da63345b 100644 --- a/codepot/docker/Makefile.am +++ b/codepot/docker/Makefile.am @@ -2,13 +2,13 @@ all: @echo "Choose one of the following targets:" @echo " rocky84 ubnt2004" -ubnt2004: codepot-@VERSION@.tar.gz - docker build -t codepot:ubnt20.04 -f Dockerfile.ubnt2004 @srcdir@ +ubnt2004: @srcdir@/codepot-@VERSION@.tar.gz + docker build -t codepot:ubnt20.04 -f @srcdir/Dockerfile.ubnt2004 @srcdir@ -rocky84: codepot-@VERSION@.tar.gz - docker build -t codepot:rocky8.4 -f Dockerfile.rocky84 @srcdir@ +rocky84: @srcdir@/codepot-@VERSION@.tar.gz + docker build -t codepot:rocky8.4 -f @srcdir@/Dockerfile.rocky84 @srcdir@ -codepot-@VERSION@.tar.gz: +@srcdir@/codepot-@VERSION@.tar.gz: cd .. && make dist - cp ../codepot-@VERSION@.tar.gz . + cp ../codepot-@VERSION@.tar.gz @srcdir@/ diff --git a/codepot/docker/Makefile.in b/codepot/docker/Makefile.in index 0c66342e..0e1bece6 100644 --- a/codepot/docker/Makefile.in +++ b/codepot/docker/Makefile.in @@ -411,15 +411,15 @@ all: @echo "Choose one of the following targets:" @echo " rocky84 ubnt2004" -ubnt2004: codepot-@VERSION@.tar.gz - docker build -t codepot:ubnt20.04 -f Dockerfile.ubnt2004 @srcdir@ +ubnt2004: @srcdir@/codepot-@VERSION@.tar.gz + docker build -t codepot:ubnt20.04 -f @srcdir/Dockerfile.ubnt2004 @srcdir@ -rocky84: codepot-@VERSION@.tar.gz - docker build -t codepot:rocky8.4 -f Dockerfile.rocky84 @srcdir@ +rocky84: @srcdir@/codepot-@VERSION@.tar.gz + docker build -t codepot:rocky8.4 -f @srcdir@/Dockerfile.rocky84 @srcdir@ -codepot-@VERSION@.tar.gz: +@srcdir@/codepot-@VERSION@.tar.gz: cd .. && make dist - cp ../codepot-@VERSION@.tar.gz . + cp ../codepot-@VERSION@.tar.gz @srcdir@/ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded.