mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 18:09:06 +01:00
Fix PDF doc export Makefile to handle files generated on error
This commit is contained in:
parent
d2951ed74f
commit
ca900cdcce
2 changed files with 10 additions and 4 deletions
5
doc/exports/pdf/.gitignore
vendored
5
doc/exports/pdf/.gitignore
vendored
|
@ -1 +1,6 @@
|
||||||
|
*.aux
|
||||||
|
*.log
|
||||||
|
*.out
|
||||||
*.pdf
|
*.pdf
|
||||||
|
*.tex
|
||||||
|
*.tmp
|
||||||
|
|
|
@ -1,13 +1,14 @@
|
||||||
DOCBOOK_FILE=../../LdapSaisie.docbook
|
DOCBOOK_FILE=../../LdapSaisie.docbook
|
||||||
JW=jw
|
JW=jw
|
||||||
PDF_FILE=LdapSaisie.pdf
|
BASE_FILENAME=LdapSaisie
|
||||||
|
PDF_FILE=$(BASE_FILENAME).pdf
|
||||||
|
|
||||||
all: pdf
|
all: pdf
|
||||||
|
|
||||||
pdf: LdapSaisie.pdf
|
pdf: $(PDF_FILE)
|
||||||
|
|
||||||
LdapSaisie.pdf: $(DOCBOOK_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:
|
clean:
|
||||||
rm -f $(PDF_FILE)
|
rm -f $(BASE_FILENAME).*
|
||||||
|
|
Loading…
Reference in a new issue