summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-12-15 17:18:50 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2015-12-19 23:04:34 +0100
commit85a67355c0340596630a47f85507d61c68dcbd0e (patch)
tree872556e3a613a05c86116fd62dfa100a4ca52fbd /doc
parent39e77e45ae627165a8f89d83a8f875251920ce05 (diff)
buildsystem: deal with spaces in path to source
Git-Dch: Ignore
Diffstat (limited to 'doc')
-rw-r--r--doc/en/makefile2
-rw-r--r--doc/makefile4
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/en/makefile b/doc/en/makefile
index 1be137c73..8659de6f6 100644
--- a/doc/en/makefile
+++ b/doc/en/makefile
@@ -16,7 +16,7 @@ LOCAL := manpage-$(firstword $(SOURCE))
$(LOCAL)-LIST := $(SOURCE)
apt-vendor.ent: ../../vendor/current/apt-vendor.ent
- ln -sf $(shell readlink -f $^) $@
+ ln -sf '$(abspath $^)' $@
# Install generation hooks
manpages: $($(LOCAL)-LIST)
diff --git a/doc/makefile b/doc/makefile
index c7391f11c..785c0b125 100644
--- a/doc/makefile
+++ b/doc/makefile
@@ -13,10 +13,10 @@ include $(DOCBOOK_H)
doc: manpages docbook
examples/sources.list: ../vendor/current/sources.list
- ln -sf $(shell readlink -f $^) $@
+ ln -sf '$(abspath $^)' $@
apt-vendor.ent: ../vendor/current/apt-vendor.ent
- ln -sf $(shell readlink -f $^) $@
+ ln -sf '$(abspath $^)' $@
# Examples
SOURCE = examples/apt.conf examples/sources.list examples/configure-index examples/apt-https-method-example.conf