Skip to content

Commit

Permalink
auto merge of rust-lang#290 : omasanori/cargo/makefile, r=alexcrichton
Browse files Browse the repository at this point in the history
Both Makefile.in and install.sh prepended `${DESTDIR}` to `${PREFIX}` so the installation prefix became `${DESTDIR}/${DESTDIR}/${PREFIX}`. Also, the script assumes that `${DESTDIR}` ends with a slash or `${PREFIX}` starts with it so I appended a slash to `${DESTDIR}`.
  • Loading branch information
bors committed Jul 29, 2014
2 parents 672f392 + 07becbc commit 6da9634
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ $$(PKGDIR_$(1))/lib/cargo/manifest.in: all

install-$(1): $$(PKGDIR_$(1))/lib/cargo/manifest.in
$$(PKGDIR_$(1))/install.sh \
--prefix="$$(DESTDIR)$$(CFG_PREFIX)" \
--destdir="$$(DESTDIR)" $$(MAYBE_DISABLE_VERIFY)
--prefix="$$(CFG_PREFIX)" \
--destdir="$$(DESTDIR)/" $$(MAYBE_DISABLE_VERIFY)
endef
$(foreach target,$(CFG_TARGET),$(eval $(call DO_DIST_TARGET,$(target))))

Expand Down

0 comments on commit 6da9634

Please sign in to comment.