diff --git a/Makefile b/Makefile index f0d8bdd..3df8676 100644 --- a/Makefile +++ b/Makefile @@ -36,8 +36,8 @@ texToDoc = \ | cut -c 3- - > $2 -#---------------------------------------------------------------------- +#---------------------------------------------------------------------- %.pdf: %.tex $(TEX) $< > /dev/null @@ -54,7 +54,25 @@ texToDoc = \ #---------------------------------------------------------------------- + +.PHONY: doc +doc: photobook.pdf + + +.PHONY: all +all: doc sweep + + +# XXX +.PHONY: dist +dist: all + # XXX install... (see: ./tmp/Makefile) +# - local +# - root +.PHONY: install +install: dist + #---------------------------------------------------------------------- @@ -69,5 +87,6 @@ clean: sweep rm -f *.pdf + #---------------------------------------------------------------------- # vim:set ts=4 sw=4 : diff --git a/photobook.cls b/photobook.cls index d5016dd..19297bb 100644 --- a/photobook.cls +++ b/photobook.cls @@ -738,11 +738,11 @@ \nprounddigits{\photobook@roundprintedlengthsto} } -%% \DescribeMacro{\ResetPages} +%% \DescribeMacro{\ReInitPages} % %% Reset and re-initialize page dimentions. %% -\newcommand\ResetPages{ +\newcommand\ReInitPages{ \setlength\blockwidth{0mm} \setlength\blockheight{0mm} \edef\pdfpagelayout{} diff --git a/workflow/block2cover.tex b/workflow/block2cover.tex index 74ccea6..264a282 100644 --- a/workflow/block2cover.tex +++ b/workflow/block2cover.tex @@ -21,7 +21,7 @@ \def\layoutmode{cover} \setlength\spinewidth{7.1mm} -\ResetPages +\ReInitPages