diff --git a/doc/exports/pdf/.gitignore b/doc/exports/pdf/.gitignore index a1363379..fd40e808 100644 --- a/doc/exports/pdf/.gitignore +++ b/doc/exports/pdf/.gitignore @@ -1 +1,6 @@ +*.aux +*.log +*.out *.pdf +*.tex +*.tmp diff --git a/doc/exports/pdf/Makefile b/doc/exports/pdf/Makefile index d2a720ce..5c351c34 100644 --- a/doc/exports/pdf/Makefile +++ b/doc/exports/pdf/Makefile @@ -1,13 +1,14 @@ DOCBOOK_FILE=../../LdapSaisie.docbook JW=jw -PDF_FILE=LdapSaisie.pdf +BASE_FILENAME=LdapSaisie +PDF_FILE=$(BASE_FILENAME).pdf all: pdf -pdf: LdapSaisie.pdf +pdf: $(PDF_FILE) LdapSaisie.pdf: $(DOCBOOK_FILE) - SP_ENCODING=XML $(JW) -f docbook -b pdf "$(DOCBOOK_FILE)" + SP_ENCODING=XML $(JW) -f docbook -b pdf "$(DOCBOOK_FILE)" clean: - rm -f $(PDF_FILE) + rm -f $(BASE_FILENAME).*