2 $(error This make needs to be started
as a sub-make from the toplevel directory.
)
5 .PHONY
: all info html pdf card manual guide
install clean cleanall clean-install
7 all: info html pdf card
13 pdf
: org.pdf orgguide.pdf
15 card
: orgcard.pdf orgcard_letter.pdf orgguide.pdf
18 $(RMR
) $@
; $(MKDIR
) $@
21 ..
/UTILITIES
/mansplit.pl
$@
/*
24 ..
/UTILITIES
/guidesplit.pl
$@
/*
26 git-describe.texi
: org.texi
27 @echo
"@c automatically generated, do not edit" > git-describe.texi
28 @echo
"@set VERSION $(ORGVERSION) ($(GITVERSION))" >> git-describe.texi
29 @echo
"@set DATE $(DATE)" >> git-describe.texi
33 if
[ ! -d
$(infodir) ]; then
$(MKDIR
) $(infodir); else true
; fi
;
35 $(INSTALL_INFO
) --infodir=$(infodir) org
38 $(RM
) org
*.pdf
*.html
*_letter.
tex \
39 *.aux
*.cp
*.cps
*.
dvi *.fn
*.fns
*.ky
*.kys
*.pg
*.pgs \
40 *.toc
*.tp
*.tps
*.vr
*.vrs
*.log
*.html
*.ps git-describe.texi
46 $(INSTALL_INFO
) --infodir=$(infodir) --remove org
48 .SUFFIXES
: # we don't need default suffix rules
49 .SUFFIXES
: .texi .
tex .txt
52 $(MAKE
) git-describe.texi
53 $(MAKEINFO
) --no-split
$< -o
$@
55 %.pdf
: LC_ALL
=C
# work around a bug in texi2dvi
56 %.pdf
: LANG
=C
# work around a bug in texi2dvi
60 PDFLATEX
=$(PDFTEX
) $(TEXI2PDF
) $<
63 $(TEXI2HTML
) --no-split
-o
$@
$<
64 ..
/UTILITIES
/manfull.pl
$@
67 perl ..
/UTILITIES
/orgcard2txt.pl
$< > $@
70 $(SED
) -e
's/\\pdflayout=(0l)/\\pdflayout=(1l)/' \