patch-common_mk 973 B

12345678910111213141516171819202122232425262728
  1. $OpenBSD: patch-common_mk,v 1.2 2011/11/15 00:05:16 jeremy Exp $
  2. Build the ext stuff during the build phase so we don't have to
  3. run 'make clean' as root.
  4. --- common.mk.orig Sun Nov 21 23:22:16 2010
  5. +++ common.mk Mon Nov 14 04:14:50 2011
  6. @@ -79,7 +79,9 @@ PRE_LIBRUBY_UPDATE = $(MINIRUBY) -e 'ARGV[1] or File.u
  7. TESTSDIR = $(srcdir)/test
  8. TESTWORKDIR = testwork
  9. -all: $(MKFILES) $(PREP) $(RBCONFIG) $(LIBRUBY)
  10. +all: $(MKFILES) $(PREP) $(RBCONFIG) $(LIBRUBY) all-extmk
  11. +
  12. +all-extmk:
  13. @$(MINIRUBY) $(srcdir)/ext/extmk.rb --make="$(MAKE)" $(EXTMK_ARGS)
  14. prog: $(PROGRAM) $(WPROGRAM)
  15. @@ -252,7 +254,7 @@ dont-install-man:
  16. post-no-install-man::
  17. @$(NULLCMD)
  18. -install-doc: rdoc pre-install-doc do-install-doc post-install-doc
  19. +install-doc: pre-install-doc do-install-doc post-install-doc
  20. pre-install-doc:: install-prereq
  21. do-install-doc: $(PROGRAM)
  22. $(MINIRUBY) $(srcdir)/instruby.rb --make="$(MAKE)" $(INSTRUBY_ARGS) --install=rdoc --rdoc-output="$(RDOCOUT)"