The new smart match dispatch table for 5.10.1 onwards
[p5sagit/p5-mst-13.2.git] / Makefile.SH
index 799ccfb..0b80039 100644 (file)
@@ -205,8 +205,8 @@ done
 
 nonxs_list=' '
 for f in $nonxs_ext; do
-    base=`echo "$f" | sed 's/.*\///'`
-    nonxs_list="$nonxs_list ext/$f/pm_to_blib"
+    p=`echo "$f" | tr / -`
+    nonxs_list="$nonxs_list ext/$p/pm_to_blib"
 done
 
 dtrace_h=''
@@ -400,7 +400,7 @@ esac
 ## In the following dollars and backticks do not need the extra backslash.
 $spitshell >>$Makefile <<'!NO!SUBS!'
 
-private = preplibrary $(CONFIGPM) $(CONFIGPOD) lib/ExtUtils/Miniperl.pm
+private = preplibrary $(CONFIGPM) $(CONFIGPOD) lib/ExtUtils/Miniperl.pm git_version.h
 
 # Files to be built with variable substitution before miniperl
 # is available.