mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r16754] bug fix (ID 1345):
Use environment variable instead of command parameter to test the install via $DESTDIR test. Tested: Jam and smirom by hand. (no h5committest which does not test this change.)
This commit is contained in:
parent
773f3686f0
commit
745d7ff835
@ -154,7 +154,7 @@ installcheck-local:
|
||||
# check-install is just a synonym for installcheck
|
||||
check-install: installcheck
|
||||
|
||||
# check-all-install tests installing default vs. prefix=<dir> vs. $DESTDIR.
|
||||
# check-all-install tests all installation methods.
|
||||
# Install via different mechanism and then compare against the default.
|
||||
# Fine if only libXXX.a files are different since they may have been ranlib'ed.
|
||||
check-all-install:
|
||||
@ -165,8 +165,8 @@ check-all-install:
|
||||
@echo Compare against the default installation.
|
||||
@echo Fine if only libXXX.a files are different.
|
||||
-diff -r prefix-tmp ${prefix}
|
||||
@echo Installing to different DESTDIR location
|
||||
$(MAKE) DESTDIR=${ROOT}/destdir-tmp install
|
||||
@echo Installing to different \$DESTDIR location
|
||||
env DESTDIR=${ROOT}/destdir-tmp $(MAKE) install
|
||||
@echo Compare against the default installation.
|
||||
@echo Fine if only libXXX.a files are different.
|
||||
-diff -r destdir-tmp${prefix} ${prefix}
|
||||
|
@ -893,7 +893,7 @@ installcheck-local:
|
||||
# check-install is just a synonym for installcheck
|
||||
check-install: installcheck
|
||||
|
||||
# check-all-install tests installing default vs. prefix=<dir> vs. $DESTDIR.
|
||||
# check-all-install tests all installation methods.
|
||||
# Install via different mechanism and then compare against the default.
|
||||
# Fine if only libXXX.a files are different since they may have been ranlib'ed.
|
||||
check-all-install:
|
||||
@ -904,8 +904,8 @@ check-all-install:
|
||||
@echo Compare against the default installation.
|
||||
@echo Fine if only libXXX.a files are different.
|
||||
-diff -r prefix-tmp ${prefix}
|
||||
@echo Installing to different DESTDIR location
|
||||
$(MAKE) DESTDIR=${ROOT}/destdir-tmp install
|
||||
@echo Installing to different \$DESTDIR location
|
||||
env DESTDIR=${ROOT}/destdir-tmp $(MAKE) install
|
||||
@echo Compare against the default installation.
|
||||
@echo Fine if only libXXX.a files are different.
|
||||
-diff -r destdir-tmp${prefix} ${prefix}
|
||||
|
Loading…
Reference in New Issue
Block a user