summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2015-05-13 15:43:55 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2015-05-14 00:19:32 +0200
commita8fc483ca4914ddc67b7831150f1ee4c3c429ec1 (patch)
tree2a96a443b69b5446ef7307a41b7496a21d5a7d31 /Makefile.in
parent7bd1559db62ce5986da806424a193a25965f5fdc (diff)
downloadlvm2-a8fc483ca4914ddc67b7831150f1ee4c3c429ec1.tar.gz
makefiles: use fullpath when in assign
We need to put full path right in the assign moment, otherwise command: make rpm rpmbuild=/my/tmp/dir cannot work as one would have expected.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index be4241c81..43a6ed08a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -93,6 +93,7 @@ cscope.out:
all: cscope.out
endif
DISTCLEAN_TARGETS += cscope.out
+CLEAN_DIRS += autom4te.cache
check check_system check_cluster check_local check_lvmetad unit: all
$(MAKE) -C test $(@)
@@ -125,7 +126,7 @@ rpm: dist
-e "s,^\(Version:[^0-9%]*\)[0-9.]*$$,\1 $(LVM_VER)," \
-e "s,^\(Release:[^0-9%]*\)[0-9.]\+,\1 $$GIT_VER," \
$(top_srcdir)/spec/source.inc >$(rpmbuilddir)/SOURCES/source.inc
- rpmbuild -v --define "_topdir $(abs_top_builddir)/$(rpmbuilddir)" -ba $(top_srcdir)/spec/lvm2.spec
+ rpmbuild -v --define "_topdir $(rpmbuilddir)" -ba $(top_srcdir)/spec/lvm2.spec
generate: conf.generate
$(MAKE) -C conf generate