Skip to content

Commit 85c1f6f

Browse files
committed
List installed bindir
1 parent e83d7ee commit 85c1f6f

3 files changed

Lines changed: 11 additions & 3 deletions

File tree

common.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -495,9 +495,9 @@ INSTALL_ALL = all
495495

496496
post-install-check: $(LIBRUBY_RELATIVE)-post-install-check
497497

498-
yes-post-install-check:
499-
$(DESTDIR)$(bindir)/$(PROGRAM) -C $(srcdir) tool/post-install.rb
500-
no-post-install-check:
498+
yes-post-install-check: list-installed-binstub
499+
$(DESTDIR)$(bindir)/$(PROGRAM) $(srcdir)/tool/post-install.rb
500+
no-post-install-check: list-installed-binstub
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

template/Makefile.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -719,6 +719,10 @@ 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 -lF --color $(DESTDIR)
724+
ls -lF --color $(DESTDIR)$(bindir)
725+
722726
yesterday:
723727
$(GIT) -C $(srcdir) reset --hard \
724728
`$(GIT) -C $(srcdir) log -1 --before=00:00+0900 --format=%H`

win32/Makefile.sub

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

15041504
exts: rubyspec-capiext
15051505

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

0 commit comments

Comments
 (0)