Skip to content

Commit

Permalink
Rearrange directory layout for second document
Browse files Browse the repository at this point in the history
This patch renames 'manual' to 'foundations' and moves the 'img'
directory to the top level so that the images become usable across
documents.
  • Loading branch information
nfeske committed Apr 17, 2020
1 parent 95346e1 commit c4fd8a6
Show file tree
Hide file tree
Showing 113 changed files with 12 additions and 5 deletions.
5 changes: 3 additions & 2 deletions README
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
This repository contains the user manual for the Genode OS Framework.

:[http://genode.org]:
:[https://genode.org]:

Website of the Genode OS Framework

Expand All @@ -16,4 +16,5 @@ To build the manual, the following tools need to be installed:
texlive-fonts-extra, texlive-fonts-recommended
* GNU make

To build the manual, invoke 'make' from within the 'manual/' directory.
To build the Genode Foundations book, invoke 'make' from within the
'foundations/' directory.
6 changes: 6 additions & 0 deletions manual/Makefile → foundations/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,14 @@ $(FOUNDATIONS_PDF): $(FOUNDATIONS_PDF:.pdf=.txt) manual.gosh Makefile \
cp $(TEXFILE).pdf $@
rm -f $(TEXFILE) $(TEXFILE).*

$(FOUNDATIONS_PDF): img

img:
ln -sf ../img

clean_manual:
rm -f $(TEXFILE) $(TEXFILE).* $(FOUNDATIONS_PDF:.pdf=.txt) $(FOUNDATIONS_PDF)
rm -f img

spec/repos spec/classes:
make -C spec all
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions manual/epub/img.mk → foundations/epub/img.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Rules for converting TikZ figures to PNG images, invoked by 'epub_html.gosh'
#

img/%.tikz: ../img/%.tikz
cd img; ln -s ../../img/$*.tikz
img/%.tikz: ../../img/%.tikz
cd img; ln -s ../../../img/$*.tikz

img/%.pdf: img/%.tikz
make -C img $*.pdf
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion manual/www/Makefile → foundations/www/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ IMG_DIR_CONTENT := Makefile \
$(ALL_HTML): $(addprefix img/,$(IMG_DIR_CONTENT))
$(addprefix img/,$(IMG_DIR_CONTENT)):
mkdir -p img
ln -sf ../../img/$(notdir $@) $@
ln -sf ../../../img/$(notdir $@) $@

# generate cross-reference index
xrefs: $(ALL_SECTIONS_TXT) $(ALL_CHAPTERS_TXT)
Expand Down
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit c4fd8a6

Please sign in to comment.