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.