From 507a3b4ab52748755132baa95c9338d150167fb3 Mon Sep 17 00:00:00 2001 From: Gregor Jasny Date: Sun, 5 Jul 2015 07:41:11 -0700 Subject: [PATCH] Properly reference HeaderFile.h(pp) Otherwise "make dist" will fail. Signed-off-by: Gregor Jasny --- 01.w_Defects/Makefile.am | 2 +- 03.w_Defects_Cpp/Makefile.am | 2 +- 04.wo_Defects_Cpp/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/01.w_Defects/Makefile.am b/01.w_Defects/Makefile.am index 4399e94..4815229 100644 --- a/01.w_Defects/Makefile.am +++ b/01.w_Defects/Makefile.am @@ -3,7 +3,7 @@ AM_CFLAGS = -pthread AM_LDFLAGS = -lm bin_PROGRAMS = 01_w_Defects 01_w_Defects_SOURCES = \ -HeaderFile.h \ +$(top_srcdir)/include/HeaderFile.h \ bit_shift.c main.c \ buffer_overrun_dynamic.c memory_allocation_failure.c \ buffer_underrun_dynamic.c memory_leak.c \ diff --git a/03.w_Defects_Cpp/Makefile.am b/03.w_Defects_Cpp/Makefile.am index 2b74e98..204768b 100644 --- a/03.w_Defects_Cpp/Makefile.am +++ b/03.w_Defects_Cpp/Makefile.am @@ -3,5 +3,5 @@ AM_CXXFLAGS = -pthread AM_LDFLAGS = -lm bin_PROGRAMS = 03_w_Defects_Cpp 03_w_Defects_Cpp_SOURCES = \ -HeaderFile.hpp \ +$(top_srcdir)/include/HeaderFile.hpp \ improper_error_handling.cpp main.cpp diff --git a/04.wo_Defects_Cpp/Makefile.am b/04.wo_Defects_Cpp/Makefile.am index b401b51..555ecad 100644 --- a/04.wo_Defects_Cpp/Makefile.am +++ b/04.wo_Defects_Cpp/Makefile.am @@ -3,5 +3,5 @@ AM_CXXFLAGS = -pthread AM_LDFLAGS = -lm bin_PROGRAMS = 04_wo_Defects_Cpp 04_wo_Defects_Cpp_SOURCES = \ -HeaderFile.hpp \ +$(top_srcdir)/include/HeaderFile.hpp \ improper_error_handling.cpp main.cpp