source: trunk/src/binutils/etc/Makefile.in@ 1036

Last change on this file since 1036 was 610, checked in by bird, 22 years ago

This commit was generated by cvs2svn to compensate for changes in r609,
which included commits to RCS files with non-trunk default branches.

  • Property cvs2svn:cvs-rev set to 1.1.1.2
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 4.3 KB
Line 
1#
2# Makefile.in for etc
3#
4
5DESTDIR =
6
7prefix = @prefix@
8exec_prefix = @exec_prefix@
9
10srcdir = @srcdir@
11VPATH = @srcdir@
12
13bindir = @bindir@
14libdir = @libdir@
15tooldir = $(libdir)
16datadir = @datadir@
17
18mandir = @mandir@
19man1dir = $(mandir)/man1
20man2dir = $(mandir)/man2
21man3dir = $(mandir)/man3
22man4dir = $(mandir)/man4
23man5dir = $(mandir)/man5
24man6dir = $(mandir)/man6
25man7dir = $(mandir)/man7
26man8dir = $(mandir)/man8
27man9dir = $(mandir)/man9
28infodir = @infodir@
29
30SHELL = /bin/sh
31
32INSTALL = @INSTALL@
33INSTALL_PROGRAM = @INSTALL_PROGRAM@
34INSTALL_DATA = @INSTALL_DATA@
35
36MAKEINFO = `if [ -f ../texinfo/makeinfo/makeinfo ]; \
37 then echo ../texinfo/makeinfo/makeinfo; \
38 else echo makeinfo; fi`
39TEXI2DVI = `if [ -f ../texinfo/util/texi2dvi ]; \
40 then echo ../texinfo/util/texi2dvi; \
41 else echo texi2dvi; fi`
42TEXI2HTML = texi2html
43DVIPS = dvips
44
45# Where to find texinfo.tex to format documentation with TeX.
46TEXIDIR = $(srcdir)/../texinfo
47
48#### Host, target, and site specific Makefile fragments come in here.
49###
50
51INFOFILES = standards.info configure.info
52DVIFILES = standards.dvi configure.dvi
53
54all:
55
56# We want install to imply install-info as per GNU standards.
57install: install-info
58
59uninstall:
60
61info:
62 for f in $(INFOFILES); do \
63 if test -f $(srcdir)/`echo $$f | sed -e 's/.info$$/.texi/'`; then \
64 if $(MAKE) "MAKEINFO=$(MAKEINFO)" $$f; then \
65 true; \
66 else \
67 exit 1; \
68 fi; \
69 fi; \
70 done
71
72install-info: info
73 $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(infodir)
74 if test ! -f standards.info; then cd $(srcdir); fi; \
75 if test -f standards.info; then \
76 for i in standards.info*; do \
77 $(INSTALL_DATA) $$i $(DESTDIR)$(infodir)/$$i; \
78 done; \
79 fi
80 if test ! -f configure.info; then cd $(srcdir); fi; \
81 if test -f configure.info; then \
82 for i in configure.info*; do \
83 $(INSTALL_DATA) $$i $(DESTDIR)$(infodir)/$$i; \
84 done; \
85 fi
86
87dvi:
88 for f in $(DVIFILES); do \
89 if test -f $(srcdir)/`echo $$f | sed -e 's/.dvi$$/.texi/'`; then \
90 if $(MAKE) "TEXI2DVI=$(TEXI2DVI)" $$f; then \
91 true; \
92 else \
93 exit 1; \
94 fi; \
95 fi; \
96 done
97
98standards.info: $(srcdir)/standards.texi $(srcdir)/make-stds.texi
99 $(MAKEINFO) --no-split -I$(srcdir) -o standards.info $(srcdir)/standards.texi
100
101standards.dvi: $(srcdir)/standards.texi
102 TEXINPUTS=$(TEXIDIR):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/standards.texi
103
104standards.ps: standards.dvi
105 $(DVIPS) standards.dvi -o standards.ps
106
107# makeinfo requires images to be in the current directory.
108configure.info: $(srcdir)/configure.texi $(srcdir)/configdev.tin $(srcdir)/configbuild.tin
109 rm -f configdev.txt configbuild.txt
110 cp $(srcdir)/configdev.tin configdev.txt
111 cp $(srcdir)/configbuild.tin configbuild.txt
112 $(MAKEINFO) -I$(srcdir) -o configure.info $(srcdir)/configure.texi
113 rm -f configdev.txt configbuild.txt
114
115# texi2dvi wants both the .txt and the .eps files.
116configure.dvi: $(srcdir)/configure.texi $(srcdir)/configdev.tin $(srcdir)/configbuild.tin $(srcdir)/configdev.ein $(srcdir)/configbuild.ein
117 rm -f configdev.txt configbuild.txt
118 cp $(srcdir)/configdev.tin configdev.txt
119 cp $(srcdir)/configbuild.tin configbuild.txt
120 rm -f configdev.eps configbuild.eps
121 cp $(srcdir)/configdev.ein configdev.eps
122 cp $(srcdir)/configbuild.ein configbuild.eps
123 TEXINPUTS=$(TEXIDIR):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/configure.texi
124 rm -f configdev.txt configbuild.txt
125 rm -f configdev.eps configbuild.eps
126
127# dvips requires images to be in the current directory
128configure.ps: configure.dvi $(srcdir)/configdev.ein $(srcdir)/configbuild.ein
129 rm -f configdev.eps configbuild.eps
130 cp $(srcdir)/configdev.ein configdev.eps
131 cp $(srcdir)/configbuild.ein configbuild.eps
132 $(DVIPS) configure.dvi -o configure.ps
133 rm -f configdev.eps configbuild.eps
134
135configure.html: $(srcdir)/configure.texi
136 $(TEXI2HTML) -split_chapter $(srcdir)/configure.texi
137
138clean:
139 rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.log
140 rm -f *.pg *.pgs *.toc *.tp *.tps *.vr *.vrs
141 rm -f configdev.txt configbuild.txt configdev.eps configbuild.eps
142 rm -f configdev.jpg configbuild.jpg
143
144mostlyclean: clean
145
146distclean: clean
147 rm -f Makefile config.status config.cache
148
149maintainer-clean realclean: distclean
150 rm -f *.info*
151
152Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
153 $(SHELL) ./config.status
154
155## these last targets are for standards.texi conformance
156dist:
157check:
158installcheck:
159TAGS:
Note: See TracBrowser for help on using the repository browser.