Skip to content

Commit 6be0ae3

Browse files
committed
Win32: Remove win32 directory if empty
1 parent 731a532 commit 6be0ae3

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

cygwin/GNUmakefile.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ yes-test-all: export MSYS2_ARG_CONV_EXCL=$(MSYS2_ARG_CONV_EXCL_PARAM)
9999
yes-test-almost: export MSYS2_ARG_CONV_EXCL=$(MSYS2_ARG_CONV_EXCL_PARAM)
100100
test/% spec/%/ spec/%_spec.rb: export MSYS2_ARG_CONV_EXCL=$(MSYS2_ARG_CONV_EXCL_PARAM)
101101

102+
distclean-local::
103+
$(RMDIR) win32
102104
endif
103105

104106
$(LIBRUBY_SO): $(RUBYDEF)

win32/Makefile.sub

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1279,6 +1279,7 @@ distclean-local::
12791279
$(Q)$(RM) ext\config.cache $(RBCONFIG:/=\) $(CONFIG_H:/=\)
12801280
-$(Q)$(RM) $(INSTALLED_LIST:/=\) $(arch_hdrdir:/=\)\ruby\config.h verconf.h
12811281
-$(Q)$(RMDIRS) $(arch_hdrdir:/=\)\ruby
1282+
-$(Q)$(RMDIR) win32
12821283

12831284
ext/clean.mk ext/distclean.mk ext/realclean.mk::
12841285
$(Q)if exist $(EXTS_MK) $(MAKE) -k -f $(EXTS_MK) top_srcdir=$(srcdir) $(*F)

0 commit comments

Comments
 (0)