Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Makefile to generate documentation #81

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions documentation/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

all: rs.pdf iwsn.pdf snaa.pdf

rs.pdf:rs/rs-documentation.pdf
cp $< $@

iwsn.pdf:iwsn/apis.pdf
cp $< $@

snaa.pdf:snaa/snaa-documentation.pdf
cp $< $@

%.pdf:%.tex
cd $(<D) && pdflatex $(<F) && pdflatex $(<F)

rs/rs-documentation.pdf:rs/*.tex
iwsn/apis.pdf:iwsn/*.tex
snaa/snaa-documentation.pdf:snaa/*.tex


clean:
$(RM) */*.aux */*.log */*.pdf

proper: clean
$(RM) *.pdf