* Honour DESTDIR so that bzip2/bunzip2 get installed in the right

location when building RPMs (fixes NIX-58).
This commit is contained in:
Eelco Dolstra 2006-08-25 12:14:57 +00:00
parent 3e8dccf6ab
commit bf738f0070
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ build-bzip2: have-bzip2
install:
mkdir -p ${bzip2_bin}
$(INSTALL_PROGRAM) $(bzip2_bin_test)/bzip2 $(bzip2_bin_test)/bunzip2 ${bzip2_bin}
$(INSTALL_PROGRAM) $(bzip2_bin_test)/bzip2 $(bzip2_bin_test)/bunzip2 $(DESTDIR)${bzip2_bin}
endif