summaryrefslogtreecommitdiff
path: root/vmcore-dmesg
diff options
context:
space:
mode:
authorTyler Hall <tylerwhall@gmail.com>2012-02-07 18:50:05 -0500
committerSimon Horman <horms@verge.net.au>2012-02-08 09:46:41 +0900
commit37737527725e465833be649101c4a6f8352c5d5e (patch)
tree729c37a4bbda2ebac7bbc1c3ff859c7df2fcc681 /vmcore-dmesg
parent10efab3c13965d3ec073359205da8468c3ae5076 (diff)
Fix out-of-tree build
Use automatic variables for prerequisites when copying man pages and include a makefile relative to $(srcdir). Signed-off-by: Tyler Hall <tylerwhall@gmail.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'vmcore-dmesg')
-rw-r--r--vmcore-dmesg/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/vmcore-dmesg/Makefile b/vmcore-dmesg/Makefile
index 5a6d84a..42c218a 100644
--- a/vmcore-dmesg/Makefile
+++ b/vmcore-dmesg/Makefile
@@ -21,7 +21,7 @@ $(VMCORE_DMESG): $(VMCORE_DMESG_OBJS)
$(VMCORE_DMESG_MANPAGE): vmcore-dmesg/vmcore-dmesg.8
$(MKDIR) -p $(MANDIR)/man8
- cp vmcore-dmesg/vmcore-dmesg.8 $(VMCORE_DMESG_MANPAGE)
+ cp $^ $(VMCORE_DMESG_MANPAGE)
echo::
@echo "VMCORE_DMESG_SRCS $(VMCORE_DMESG_SRCS)"
@echo "VMCORE_DMESG_DEPS $(VMCORE_DMESG_DEPS)"