From b53bdd3ebadab879f161e0e4b881c79cb977e0e0 Mon Sep 17 00:00:00 2001 From: "A. Gordon" Date: Mon, 15 Sep 2014 15:51:50 -0400 Subject: [PATCH] build: use portable Makefile variables * Makefile.am: use '$?' instead of '$<' $< in a non-inference rule is a GNU-make extension, which fails with BSD make. --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 24d1730..1c14948 100644 --- a/Makefile.am +++ b/Makefile.am @@ -32,9 +32,9 @@ man_MANS = virt-what.1 virt-what.1: virt-what.pod pod2man -c "Virtualization Support" --release "$(PACKAGE)-$(VERSION)" \ - $< > $@ + $? > $@ virt-what.txt: virt-what.pod - pod2text $< > $@ + pod2text $? > $@ endif -- 1.8.3.1