File: Makefile.in

package info (click to toggle)
vflib3 3.6.14.dfsg-3+nmu4
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 11,936 kB
  • sloc: ansic: 36,071; sh: 10,354; asm: 3,290; makefile: 960; lisp: 123; perl: 109; awk: 43
file content (77 lines) | stat: -rw-r--r-- 2,396 bytes parent folder | download | duplicates (6)
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
DOC_TEXI=VFlib-36.texi
DOC_INFO=VFlib-36.info
DOC_HTML=VFlib-36.html
DOC_DVI=VFlib-36.dvi
DOC_PS=VFlib-36.ps

TEXI2HTML=texi2html
DVI2PS=dvips -f


all: VFlib-36.info VFlib-36.ps
ALL: VFlib-36.info VFlib-36.ps VFlib-36.dvi VFlib-36.html

include ../make-sub

VFlib-36.info: VFlib-36.texi
	-rm VFlib-36.info*
	emacs --batch  VFlib-36.texi \
	      -f texinfo-format-buffer \
	      -f save-buffer \
	      -f kill-emacs
VFlib-36.ps: VFlib-36.texi
	$(MAKE) VFlib-36.dvi
	-$(DVI2PS) VFlib-36.dvi > VFlib-36.ps
VFlib-36.dvi: VFlib-36.texi
	-rm -f VFlib-36.ps
	tex VFlib-36.texi
	texindex VFlib-36.??
	tex VFlib-36.texi
VFlib-36.html: VFlib-36.texi
	$(TEXI2HTML) VFlib-36.texi

install: 
	@echo "Installing VFlib manuals ...";
	@if [ ! -d $(infodir) ] ; then \
	    ../recmkdir $(infodir); fi
	@for f in `echo $(DOC_INFO)*`; do \
	   ../$(INSTALL_DATA) $$f  $(infodir); done
	-@if [ X-`../X-whereisit install-info` != "X-" ] ; then \
	   install-info $(DOC_INFO) \
	     --info-dir=$(infodir) \
	     --section='Miscellaneous' \
	     --item="* VFlib 3.6: (VFlib-36.info).		A font library VFlib."; \
	 else \
	   echo "NOTICE: No 'install-info' program!"; \
	   echo "        Edit $(infodir)/dir file by yourself."; \
	 fi
	@if [ ! -d $(runtimedir)/doc ] ; then \
	    ../recmkdir $(runtimedir)/doc; fi
	@for f in `echo *.texi *.dvi *.ps *.html`; do \
	   ../$(INSTALL_DATA) $$f $(runtimedir)/doc; done
	@if [ ! -d $(runtimedir)/doc/Paper1 ] ; then \
	    ../recmkdir $(runtimedir)/doc/Paper1; \
	fi
	@for f in `echo Paper1/*.ps`; do \
	   ../$(INSTALL_DATA) $$f $(runtimedir)/doc/Paper1;  done
	@if [ ! -d $(runtimedir)/doc/Paper2-ja ] ; then \
	    ../recmkdir $(runtimedir)/doc/Paper2-ja; fi
	@for f in `echo Paper2-ja/*.ps`; do \
	   ../$(INSTALL_DATA) $$f $(runtimedir)/doc/Paper2-ja; done

uninstall:
	-$(RM) $(infodir)/$(DOC_INFO)* 
	-install-info --delete $(DOC_INFO) --info-dir=$(infodir) --section='Miscellaneous' --item="* VFlib 3: (VFlib-36.info).		A font library VFlib version 3.6."
	-$(RM)    $(runtimedir)/doc/Paper1/* $(runtimedir)/doc/Paper2-ja/*
	-$(RMDIR) $(runtimedir)/doc/Paper1   $(runtimedir)/doc/Paper2-ja
	-$(RM)    $(runtimedir)/doc/*
	-$(RMDIR) $(runtimedir)/doc
clean::
	-$(RM) *.log *.aux *.bbl *.blg missfont.log
	-$(RM) *.cp *.cps *.fn *.fns *.ky *pg *.pgs *.toc 
	-$(RM) *.tp *.tps *.vr *.vrs *.bak 
	-$(RM) */*.aux */*.log */*~  
veryclean:: clean
distclean:: clean