| # Makefile for perl support modules and routine |
| PERL_PATH_SQ = $(subst ','\'',$(PERL_PATH)) |
| prefix_SQ = $(subst ','\'',$(prefix)) |
| all install instlibdir: $(makfile) |
| $(QUIET)$(MAKE) -f $(makfile) $@ |
| $(QUIET)test -f $(makfile) && $(MAKE) -f $(makfile) $@ || exit 0 |
| instdir_SQ = $(subst ','\'',$(prefix)/lib) |
| $(makfile): ../GIT-CFLAGS Makefile |
| echo ' mkdir -p $(instdir_SQ)' >> $@ |
| echo ' $(RM) $(instdir_SQ)/Git.pm; cp Git.pm $(instdir_SQ)' >> $@ |
| echo ' $(RM) $(instdir_SQ)/Error.pm; \ |
| cp private-Error.pm $(instdir_SQ)/Error.pm' >> $@ |
| echo ' echo $(instdir_SQ)' >> $@ |
| $(makfile): Makefile.PL ../GIT-CFLAGS |
| '$(PERL_PATH_SQ)' $< PREFIX='$(prefix_SQ)' |
| # this is just added comfort for calling make directly in perl dir |
| # (even though GIT-CFLAGS aren't used yet. If ever) |