aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2023-01-25 03:11:22 +0100
committerGuilhem Moulin <guilhem@fripost.org>2023-01-25 03:11:22 +0100
commit40a4c9b9be51f9c41edd8b421dd629e001659fb4 (patch)
treeae7e2c050ce2a4251ba3d9490decc3571fdbd431 /Makefile
parent9a8f705eddd18ccc9a24fe0e7efe6b5a87b2be09 (diff)
Replace '$(dir $@)' with '$(@D)' in Makefile.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 16ac04e..10e55c5 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ $(BUILDDIR)/certs/ca-certificates.crt: \
certs/isrg-root-x2.pem \
certs/lets-encrypt-r[34].pem \
certs/lets-encrypt-e[12].pem
- mkdir -pv -- $(dir $@)
+ mkdir -pv -- $(@D)
cat -- $^ >$@
# Staging Environment for tests, see https://letsencrypt.org/docs/staging-environment/
@@ -27,7 +27,7 @@ $(BUILDDIR)/certs-staging/ca-certificates.crt: \
certs-staging/letsencrypt-stg-root-x[12].pem \
certs-staging/letsencrypt-stg-int-r[34].pem \
certs-staging/letsencrypt-stg-int-e[12].pem
- mkdir -pv -- $(dir $@)
+ mkdir -pv -- $(@D)
cat -- $^ >$@
prefix ?= $(DESTDIR)
@@ -52,7 +52,7 @@ lacme_client_group ?= nogroup
acmeapi_server ?= https://acme-v02.api.letsencrypt.org/directory
$(BUILDDIR)/%: %
- mkdir -pv -- $(dir $@)
+ mkdir -pv -- $(@D)
cp --no-dereference --preserve=mode,links,xattr -vfT -- "$<" "$@"
sed -i "s#@@bindir@@#$(bindir)#g; \
s#@@sbindir@@#$(sbindir)#g; \