Frank Küster wrote: > Frank Küster <[EMAIL PROTECTED]> wrote: > >>> Look into the source package and run "make ifupdown.pdf" (yep you need few >>> more dependancy application installed like "dia". ) >> Thanks, I'll check that. > > There's no LaTeX- or PDF-specific reason not to build the > documentation. It builds without changing anything, just call the > respective target. There are some cosmetic issues with the output, > though. I've submitted a patch to the BTS.
And if you do not want to check how many times you need to run latex/ pdflatex/bibtex/... or if you do not want to look manually for the correct dependencies between .tex, .dvi, .ps, .bib, .bbl, ... you can apply this patch (but this add a build-depends on latex-make) Best regards, Vincent
--- Makefile.orig 2006-06-27 19:58:43.000000000 +0200 +++ Makefile 2006-06-27 20:02:53.000000000 +0200 @@ -25,7 +25,7 @@ install -m 0755 ifup ${BASEDIR}/sbin ln ${BASEDIR}/sbin/ifup ${BASEDIR}/sbin/ifdown -clean : +clean :: rm -f *.aux *.toc *.log *.bbl *.blg *.ps *.eps *.pdf rm -f *.o *.d $(patsubst %.defn,%.c,$(DEFNFILES)) *~ rm -f $(patsubst %.defn,%.man,$(DEFNFILES)) @@ -35,7 +35,8 @@ clobber : clean rm -f ifupdown.tex $(PERLFILES) $(CFILES) $(HFILES) $(DEFNFILES) -distclean : clobber +distclean :: clobber +distclean :: rm -f makecdep.sh makenwdep.sh Makefile ifup: $(OBJ) $(CC) $(CFLAGS) $^ $(LDFLAGS) $(OUTPUT_OPTION) @@ -59,20 +60,9 @@ %.tex : %.nw noweave -delay -index -latex $< >$@ -%.bbl : %.tex biblio.bib - latex $< - bibtex $(basename $<) - -%.dvi : %.tex %.bbl - latex $< - latex $< - -%.pdf : %.tex %.bbl - pdflatex $< - pdflatex $< - -%.ps : %.dvi - dvips -o $@ $< +LU_MASTERS=ifupdown +LU_FLAVORS=PS PDF +include LaTeX.mk %.gz : % gzip --best --stdout $< >$@