mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-12 00:47:49 -04:00
Rockbox manual in LaTeX initial commit. New option 'manual' added to configure. Some platforms (eg recorderv2, fmrecorder) produce the same manual target, so either can be selected from the configure script.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8596 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4eca52941c
commit
d68d7c0ecf
48 changed files with 7111 additions and 5 deletions
17
manual/Makefile
Normal file
17
manual/Makefile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
.PHONY: all buildmanual clean
|
||||
|
||||
all: rockbox-build.tex
|
||||
|
||||
rockbox-build.tex: rockbox.tex
|
||||
@if [ "$(OBJDIR)" = "" ]; then echo Run make in you build diriectory!; false; fi
|
||||
@mkdir -p $(OBJDIR)
|
||||
@cp -R * $(OBJDIR)
|
||||
@echo "\newcommand{\platform}{${ARCHOS}}" > $(OBJDIR)/rockbox-build.tex
|
||||
@echo "\newcommand{\buildversion}{$(VERSION)}" >> $(OBJDIR)/rockbox-build.tex
|
||||
@echo "\input{rockbox.tex}" >> $(OBJDIR)/rockbox-build.tex
|
||||
@mv $(OBJDIR)/Makefile.pdflatex $(OBJDIR)/Makefile
|
||||
make -C $(OBJDIR)
|
||||
|
||||
clean:
|
||||
@if [ "$(OBJDIR)" == "" ]; then echo Run make in you build diriectory!; false; fi
|
||||
@rm -rf $(OBJDIR)/manual $(OBJDIR)/*.pdf
|
||||
Loading…
Add table
Add a link
Reference in a new issue