diff --git a/Dockerfile b/Dockerfile index 86703430..2abb937b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ FROM xmppxsf/xeps-base:latest as build ARG NCORES=1 ARG TARGETS="html inbox-html inbox-xml pdf xeplist refs xml" -COPY *.xml xep.* *.css *.xsl *.js *.xsl Makefile /src/ +COPY *.xml xep.* *.css *.xsl *.js *.xsl Makefile refs-LICENSE /src/ COPY resources/*.pdf /src/resources/ COPY tools/*.py /src/tools/ COPY inbox/*.xml inbox/*.ent inbox/*.dtd /src/inbox/ diff --git a/Makefile b/Makefile index 051bc7bd..009b7641 100644 --- a/Makefile +++ b/Makefile @@ -76,8 +76,11 @@ inbox-xml: $(OUTDIR)/inbox $(proto_xep_xmls) .PHONY: pdf pdf: $(xep_pdfs) +$(REFSDIR)/LICENSE: refs-LICENSE + cp $< $@ + .PHONY: refs -refs: $(xep_refs) +refs: $(xep_refs) $(REFSDIR)/LICENSE .PHONY: examples examples: $(xep_examples)