diff options
author | Karel Zak | 2009-03-18 15:45:48 +0100 |
---|---|---|
committer | Karel Zak | 2009-03-18 15:46:53 +0100 |
commit | 7d2802a0dbbd76d119a3217774233557edbfcf98 (patch) | |
tree | 7f5b5d1fa70237aba87155a678da209493a7b3cf | |
parent | po: update POTFILES.in (diff) | |
download | kernel-qcow2-util-linux-7d2802a0dbbd76d119a3217774233557edbfcf98.tar.gz kernel-qcow2-util-linux-7d2802a0dbbd76d119a3217774233557edbfcf98.tar.xz kernel-qcow2-util-linux-7d2802a0dbbd76d119a3217774233557edbfcf98.zip |
build-sys: fix bugs detected by "make distcheck"
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | config/include-Makefile.am | 6 | ||||
-rw-r--r-- | libs/blkid/src/Makefile.am | 7 | ||||
-rw-r--r-- | libs/blkid/src/probers/Makefile.am | 2 |
4 files changed, 10 insertions, 7 deletions
diff --git a/Makefile.am b/Makefile.am index 72a0a8299..8fea6fa63 100644 --- a/Makefile.am +++ b/Makefile.am @@ -63,7 +63,7 @@ checkconfig: | xargs $(top_srcdir)/tools/checkconfig.sh $(top_srcdir) -ENABLE_ALL = --enable-static-programs \ +ENABLE_ALL = --enable-static-programs --with-fsprobe=builtin \ --enable-elvtune --enable-init --enable-kill --enable-last \ --enable-mesg --enable-partx --enable-raw --enable-rdev --enable-reset \ --enable-login-utils --enable-write --enable-arch --enable-mount diff --git a/config/include-Makefile.am b/config/include-Makefile.am index 9a0497ea5..b42a0c3a7 100644 --- a/config/include-Makefile.am +++ b/config/include-Makefile.am @@ -16,9 +16,9 @@ dist_noinst_DATA = $(dist_man_MANS) # Paths to in-tree libraries (use ul_ prefix to avoid possible collisions) # -ul_libblkid_srcdir = $(top_builddir)/libs/blkid/src -ul_libblkid_la = $(ul_libblkid_srcdir)/libblkid.la +ul_libblkid_srcdir = $(top_srcdir)/libs/blkid/src +ul_libblkid_la = $(top_builddir)/libs/blkid/src/libblkid.la $(ul_libblkid_la): - $(MAKE) -C $(ul_libblkid_srcdir) + $(MAKE) -C $(ul_libblkid_builddir) diff --git a/libs/blkid/src/Makefile.am b/libs/blkid/src/Makefile.am index c1a441ebc..61a7ca06b 100644 --- a/libs/blkid/src/Makefile.am +++ b/libs/blkid/src/Makefile.am @@ -2,7 +2,7 @@ include $(top_srcdir)/config/include-Makefile.am SUBDIRS = probers . -AM_CPPFLAGS += -I$(top_builddir)/libs/blkid/src +AM_CPPFLAGS += -I$(top_srcdir)/libs/blkid/src common_ldadd = @@ -28,7 +28,10 @@ libblkid_la_SOURCES = cache.c dev.c devname.c devno.c getsize.c llseek.c \ libblkid_la_LIBADD = probers/libblkid_probers.la $(common_ldadd) libblkid_la_DEPENDENCIES = $(libblkid_la_LIBADD) blkid.sym -libblkid_la_LDFLAGS = -Wl,--version-script=blkid.sym -version-info @BLKID_VERSION_INFO@ +# TODO: for unknown reason "make distcheck" requires +# full path to the version string +libblkid_la_LDFLAGS = -Wl,--version-script=$(top_srcdir)/libs/blkid/src/blkid.sym \ + -version-info @BLKID_VERSION_INFO@ tests = test_cache test_config test_dev test_devname test_devno test_getsize \ test_read test_resolve test_save test_tag test_verify test_evaluate diff --git a/libs/blkid/src/probers/Makefile.am b/libs/blkid/src/probers/Makefile.am index 9de231687..2f5a79dac 100644 --- a/libs/blkid/src/probers/Makefile.am +++ b/libs/blkid/src/probers/Makefile.am @@ -1,6 +1,6 @@ include $(top_srcdir)/config/include-Makefile.am -AM_CPPFLAGS += -I$(top_builddir)/libs/blkid/src +AM_CPPFLAGS += -I$(top_srcdir)/libs/blkid/src noinst_LTLIBRARIES = libblkid_probers.la libblkid_probers_la_SOURCES = \ |