summaryrefslogtreecommitdiff
path: root/partprobe
diff options
context:
space:
mode:
authorKeshav P R <the.ridikulus.rat@gmail.com>2012-01-10 12:38:31 +0100
committerJim Meyering <meyering@redhat.com>2012-01-10 12:49:21 +0100
commite4f14df66735ad4f9eb2b7cd0a3f07fbf30a02f7 (patch)
tree7cfb9fa2d2b30c91fae75079c0e95e20782404b6 /partprobe
parentc5f0d9a4c056eac19754c4e03e76eaef91bcb6f9 (diff)
downloadparted-e4f14df66735ad4f9eb2b7cd0a3f07fbf30a02f7.tar.gz
build: insert -I$(top_builddir)/include before -I$(top_srcdir)/include
everywhere, for those who perform non-srcdir builds from a pristine cloned directory. There is no problem when building from a tarball, since that includes include/parted/*.h files under $(top_srcdir). * libparted/Makefile.am: Insert it. * libparted/fs/Makefile.am: Likewise. * libparted/labels/Makefile.am: Likewise. * libparted/tests/Makefile.am: Likewise. * parted/Makefile.am: Likewise. * partprobe/Makefile.am: Likewise. * tests/Makefile.am: Likewise.
Diffstat (limited to 'partprobe')
-rw-r--r--partprobe/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/partprobe/Makefile.am b/partprobe/Makefile.am
index f140991..7e3dea2 100644
--- a/partprobe/Makefile.am
+++ b/partprobe/Makefile.am
@@ -1,4 +1,5 @@
-partedincludedir = -I$(top_srcdir)/lib -I$(top_srcdir)/include
+partedincludedir = \
+ -I$(top_srcdir)/lib -I$(top_builddir)/include -I$(top_srcdir)/include
AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
sbin_PROGRAMS = partprobe