summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index f4ac471a13..a7b9e7f129 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3515,7 +3515,7 @@ sphinx-%:
$(AM_V_at)echo Output has been generated in $(abs_top_builddir)/man/python-systemd/
destdir-sphinx: all
- dir="$(mktemp -d /tmp/systemd-install.XXXXXX)" && \
+ dir="$$(mktemp -d /tmp/systemd-install.XXXXXX)" && \
$(MAKE) DESTDIR="$$dir" install && \
$(MAKE) DESTDIR="$$dir" sphinx-html && \
rm -rf "$$dir"