1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 090729_fix_Makefile_deps.dpatch by Lucas Nussbaum <lucas@lucas-nussbaum.net>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: In some cases, during 'make install', ruby1.9 will be removed
6
## DP: because make will detect that one of the INSNS targets need to
8
## DP: We add a dependency between do-install-nodoc and $(PROGRAM) to
9
## DP: rebuild ruby1.9 if it was removed.
12
diff -urNad ruby1.9-1.9.1.243~/common.mk ruby1.9-1.9.1.243/common.mk
13
--- ruby1.9-1.9.1.243~/common.mk 2009-05-04 14:31:23.000000000 +0200
14
+++ ruby1.9-1.9.1.243/common.mk 2009-07-29 16:01:30.000000000 +0200
17
install-nodoc: pre-install-nodoc do-install-nodoc post-install-nodoc
18
pre-install-nodoc:: pre-install-local pre-install-ext
19
-do-install-nodoc: $(PREP)
20
+do-install-nodoc: $(PREP) $(PROGRAM)
21
$(INSTRUBY) --make="$(MAKE)" $(INSTRUBY_ARGS) --mantype="$(MANTYPE)"
22
post-install-nodoc:: post-install-local post-install-ext