Michael G Schwern <[EMAIL PROTECTED]> writes: >Here's what I've done. > >All the .exists targets are gone. >dir_target() which generated them is gone. >The "die if we can't find perl.h" check is gone. > >I've replaced it all with this: > >config :: $(FIRST_MAKEFILE) blibdirs > $(NOECHO) $(NOOP) > >blibdirs : > $(NOECHO) $(MKPATH) \ > $(INST_LIBDIR) $(INST_AUTODIR) \ > $(INST_ARCHAUTODIR) $(INST_BIN) \ > $(INST_SCRIPT) $(INST_MAN1DIR) \ > $(INST_MAN3DIR) > $(NOECHO) $(CHMOD) 755 \ > $(INST_LIBDIR) $(INST_AUTODIR) \ > $(INST_ARCHAUTODIR) $(INST_BIN) \ > $(INST_SCRIPT) $(INST_MAN1DIR) \ > $(INST_MAN3DIR) > $(NOECHO) $(TOUCH) blibdirs > >So all the blib directories get created in one swoop. I figure why screw >around doing it piecemeal? The blibdirs file is touched so we don't do it >twice (like pm_to_blib).
Provided something cleans that up it should be okay. (Because the .exists file was _in_ the directory a "rm -r blib" got rid of it, now if you do that you have to remember to rm blibdirs too, or learn to type 'rm -rf blib*' ) > >Everything that had a dependency on a .exists file now has one on blibdirs >instead. > >Can anyone think of why/what this would break? Was anyone crazy enough >to depend on dir_target()? > >Try the snapshot on makemaker.org, please.
