Portability for Makefile

Fixes #300

Do not use GNU Make 'dir' function, instead use shell dirname command.
Signed-off-by: Icarus Sparry <icarus.w.sparry@intel.com>
This commit is contained in:
Icarus Sparry
2017-10-02 11:12:40 -07:00
committed by Matthew Johnson
parent e562379004
commit 653415b89e
+1 -1
View File
@@ -287,7 +287,7 @@ clean-local:
man: $(dist_man_MANS)
.rst:
mkdir -p "$(dir $@)"
mkdir -p "$$(dirname $@)"
rst2man.py "$<" > "$@.tmp" && mv -f "$@.tmp" "$@"
swupd.bash: $(top_srcdir)/scripts/swupd-completion.sh $(top_srcdir)/swupd