Skip to content

Commit 295c222

Browse files
committed
List installed bindir
1 parent e83d7ee commit 295c222

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

common.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,14 +496,15 @@ INSTALL_ALL = all
496496
post-install-check: $(LIBRUBY_RELATIVE)-post-install-check
497497

498498
yes-post-install-check:
499-
$(DESTDIR)$(bindir)/$(PROGRAM) -C $(srcdir) tool/post-install.rb
499+
$(DESTDIR)$(bindir)/$(PROGRAM) $(srcdir)/tool/post-install.rb
500500
no-post-install-check:
501501

502502
install-all: pre-install-all do-install-all $(DOT_WAIT) post-install-all
503503
pre-install-all:: all pre-install-local pre-install-ext pre-install-gem pre-install-doc
504504
do-install-all: pre-install-all $(DOT_WAIT) docs
505505
$(INSTRUBY) --make="$(MAKE)" $(INSTRUBY_ARGS) --install=$(INSTALL_ALL) $(INSTALL_DOC_OPTS)
506506
post-install-all:: post-install-local post-install-ext post-install-gem post-install-doc \
507+
$(DOT_WAIT) list-installed-binstub \
507508
$(DOT_WAIT) $(TEST_RUNNABLE:yes=post-install-check)
508509
@$(NULLCMD)
509510

template/Makefile.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -719,6 +719,9 @@ no-test-syntax-suggest:
719719
no-post-install-check:
720720
[ -n "$(DESTDIR)" ] || $(bindir)/$(PROGRAM) -C $(srcdir) tool/post-install.rb
721721

722+
list-installed-binstub:
723+
ls -l $(DESTDIR)$(bindir)
724+
722725
yesterday:
723726
$(GIT) -C $(srcdir) reset --hard \
724727
`$(GIT) -C $(srcdir) log -1 --before=00:00+0900 --format=%H`

win32/Makefile.sub

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1503,6 +1503,9 @@ rubyspec-capiext: $(RUBYSPEC_CAPIEXT_EXTS)
15031503

15041504
exts: rubyspec-capiext
15051505

1506+
list-installed-binstub:
1507+
dir $(DESTDIR:/=\)$(bindir:/=\)
1508+
15061509
yesterday:
15071510
for /f "usebackq" %H in \
15081511
(`$(GIT) -C $(srcdir) log -1 "--before=00:00+0900" "--format=%H"`) do \

0 commit comments

Comments
 (0)