X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=doc%2Fxml%2FAdminGuide%2FMakefile.in;h=b60c80a6b8d068d9e33f4c029b49a39fb5572292;hp=33d0dc86b86d3008ca04462d1ef4ed4a0270acc9;hb=0754537c11f034966c79ebd2330e1155c736badf;hpb=9929d1c6fcd63a2a1d250cc36f4858b0fbba02af diff --git a/doc/xml/AdminGuide/Makefile.in b/doc/xml/AdminGuide/Makefile.in index 33d0dc8..b60c80a 100644 --- a/doc/xml/AdminGuide/Makefile.in +++ b/doc/xml/AdminGuide/Makefile.in @@ -50,10 +50,12 @@ $(BOOK).epub: $(SRCS) fi $(BOOK).mobi: $(BOOK).epub - kindlegen $(BOOK).epub -o $(BOOK).mobi + if test -n "$(KINDLEGEN)" && test -x "$(DBTOEPUB)" ; then \ + kindlegen $(BOOK).epub -o $(BOOK).mobi; \ + fi check: xmllint --noout --valid $(BOOK).xml clean: - rm -f *.html *.pdf + rm -f *.aux *.epub *.fo *.html *.log *.mobi *.out *.pdf