summaryrefslogtreecommitdiff
path: root/recipes/glibc/glibc-2.3.2/noinfo.patch
blob: 6aa0e64d96055a4dad62c6fc792084046f0c0a65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
--- glibc-2.3.2/manual/Makefile~noinfo
+++ glibc-2.3.2/manual/Makefile
@@ -25,7 +25,7 @@
 INSTALL_INFO = install-info
 
 .PHONY: all dvi pdf info html
-all: dvi
+all:
 dvi: libc.dvi
 pdf: libc.pdf
 
@@ -41,7 +41,7 @@
 TEXI2PDF = texi2dvi --pdf
 
 ifneq ($(strip $(MAKEINFO)),:)
-all: info
+all:
 info: libc.info dir-add.info
 endif
 
@@ -176,28 +176,14 @@
 	-rm -f top-menu.texi chapters.texi
 
 .PHONY: install subdir_install installdirs install-data
-install-data subdir_install: install
+install-data subdir_install:
 ifneq ($(strip $(MAKEINFO)),:)
 # There are two variants of install-info out there.  The GNU version
 # knows about the INFO-DIR-SECTION tag, the Debian version doesn't.
 ifneq ($(OLD_DEBIAN_INSTALL_INFO),yes)
-install: $(inst_infodir)/libc.info dir-add.info
-	@if $(SHELL) -c '$(INSTALL_INFO) --version' >/dev/null 2>&1; then \
-	 test -f $(inst_infodir)/dir || $(INSTALL_DATA) dir $(inst_infodir);\
-	 $(INSTALL_INFO) --info-dir=$(inst_infodir) $(inst_infodir)/libc.info;\
-	 $(INSTALL_INFO) --info-dir=$(inst_infodir) dir-add.info;\
-	else : ; fi
+install:
 else
-install: $(inst_infodir)/libc.info dir-add.info
-	@if $(SHELL) -c '$(INSTALL_INFO) --version' >/dev/null 2>&1; then \
-	  test -f $(inst_infodir)/dir || $(INSTALL_DATA) dir $(inst_infodir);\
-	 $(INSTALL_INFO) --info-dir=$(inst_infodir) \
-	     --section '^GNU Libraries:' 'GNU Libraries:' \
-	     $(inst_infodir)/libc.info;\
-	 $(INSTALL_INFO) --info-dir=$(inst_infodir) \
-	     --section '^GNU C Library functions:' 'GNU C Library functions:' \
-	     dir-add.info;\
-	else : ; fi
+install:
 endif
 endif
 # Catchall implicit rule for other installation targets from the parent.