|
@@ -12,8 +12,10 @@ PLATFORM := $(shell uname | sed -e 's/_.*//')
|
|
|
|
|
|
ifeq ($V,1)
|
|
ifeq ($V,1)
|
|
silent=
|
|
silent=
|
|
|
|
+silent_stdout=
|
|
else
|
|
else
|
|
silent=@
|
|
silent=@
|
|
|
|
+silent_stdout= > /dev/null
|
|
endif
|
|
endif
|
|
|
|
|
|
%.o: %.c
|
|
%.o: %.c
|
|
@@ -360,7 +362,7 @@ clean:
|
|
|
|
|
|
#build the doxy files (requires Doxygen, tetex and patience)
|
|
#build the doxy files (requires Doxygen, tetex and patience)
|
|
doxy:
|
|
doxy:
|
|
- doxygen
|
|
|
|
|
|
+ doxygen $(silent_stdout)
|
|
cd doc/doxygen/latex ; ${MAKE} ; mv -f refman.pdf ../../.
|
|
cd doc/doxygen/latex ; ${MAKE} ; mv -f refman.pdf ../../.
|
|
echo The huge doxygen PDF should be available as doc/refman.pdf
|
|
echo The huge doxygen PDF should be available as doc/refman.pdf
|
|
|
|
|
|
@@ -380,11 +382,11 @@ docs: crypt.tex
|
|
mv crypt-deterministic.tex crypt.tex
|
|
mv crypt-deterministic.tex crypt.tex
|
|
touch --reference=crypt.bak crypt.tex
|
|
touch --reference=crypt.bak crypt.tex
|
|
echo "hello" > crypt.ind
|
|
echo "hello" > crypt.ind
|
|
- latex crypt > /dev/null
|
|
|
|
- latex crypt > /dev/null
|
|
|
|
- makeindex crypt.idx > /dev/null
|
|
|
|
|
|
+ latex crypt $(silent_stdout)
|
|
|
|
+ latex crypt $(silent_stdout)
|
|
|
|
+ makeindex crypt.idx $(silent_stdout)
|
|
perl fixupind.pl
|
|
perl fixupind.pl
|
|
- pdflatex crypt > /dev/null
|
|
|
|
|
|
+ pdflatex crypt $(silent_stdout)
|
|
sed -b -i 's,^/ID \[.*\]$$,/ID [<0> <0>],g' crypt.pdf
|
|
sed -b -i 's,^/ID \[.*\]$$,/ID [<0> <0>],g' crypt.pdf
|
|
mv -ivf crypt.pdf doc/crypt.pdf
|
|
mv -ivf crypt.pdf doc/crypt.pdf
|
|
mv crypt.bak crypt.tex
|
|
mv crypt.bak crypt.tex
|
|
@@ -392,12 +394,12 @@ docs: crypt.tex
|
|
|
|
|
|
docdvi: crypt.tex
|
|
docdvi: crypt.tex
|
|
echo hello > crypt.ind
|
|
echo hello > crypt.ind
|
|
- latex crypt > /dev/null
|
|
|
|
- latex crypt > /dev/null
|
|
|
|
|
|
+ latex crypt $(silent_stdout)
|
|
|
|
+ latex crypt $(silent_stdout)
|
|
makeindex crypt.idx
|
|
makeindex crypt.idx
|
|
perl fixupind.pl
|
|
perl fixupind.pl
|
|
- latex crypt > /dev/null
|
|
|
|
- latex crypt > /dev/null
|
|
|
|
|
|
+ latex crypt $(silent_stdout)
|
|
|
|
+ latex crypt $(silent_stdout)
|
|
|
|
|
|
#zipup the project (take that!)
|
|
#zipup the project (take that!)
|
|
no_oops: clean
|
|
no_oops: clean
|