1 .SUFFIXES
: # we don't need default suffix rules
3 $(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
$(DESTDIR
)$(infodir) ]; then
$(MKDIR
) $(DESTDIR
)$(infodir); else true
; fi
;
34 $(CP
) org
$(DESTDIR
)$(infodir)
35 $(INSTALL_INFO
) --infodir=$(DESTDIR
)$(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
45 $(RM
) $(DESTDIR
)$(infodir)/org
*
46 $(INSTALL_INFO
) --infodir=$(DESTDIR
)$(infodir) --remove org
48 .SUFFIXES
: .texi .
tex .txt
51 $(MAKE
) git-describe.texi
52 $(MAKEINFO
) --no-split
$< -o
$@
54 %.pdf
: LC_ALL
=C
# work around a bug in texi2dvi
55 %.pdf
: LANG
=C
# work around a bug in texi2dvi
59 PDFLATEX
=$(PDFTEX
) $(TEXI2PDF
) $<
62 $(TEXI2HTML
) --no-split
-o
$@
$<
63 ..
/UTILITIES
/manfull.pl
$@
66 perl ..
/UTILITIES
/orgcard2txt.pl
$< > $@
69 $(SED
) -e
's/\\pdflayout=(0l)/\\pdflayout=(1l)/' \