Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ REMOTE_URL=`git config remote.$TRACKING_REMOTE.url`
FINAL_TAG ?= -a draft -a revnumber=v1.12.0-rc7-24-gb724218 -a revremark=${LOCAL_BRANCH}
endif

ifdef CF_FINAL_DATE
DATE_DOCPROD != LC_ALL=C date -u -d "$(CF_FINAL_DATE)" "$(DATE_FORMAT)"
else
DATE_DOCPROD != LC_ALL=C date -u "$(DATE_FORMAT)"
endif

.PHONY: all clean images authors html pdf conventions-html conventions-pdf conventions conformance-html conformance-pdf conformance
all: authors images html pdf
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ The following steps outline how to build the CF Conventions documentation into H
`make conformance`
- Remove built documents and clean build directories:
`make clean`
- Build with the FINAL tag and a date stamp. Ensure you have manually updated the version in the `version.adoc` file before running this command:
`make CF_FINAL=True`
- Build with the FINAL tag and a date stamp. Ensure you have manually updated the version in the `version.adoc` file before running this command. For FINAL builds, the release date must be provided explicitly:
`make CF_FINAL=True CF_FINAL_DATE=YYYY-MM-DD`

Both HTML documents will have images embedded within `.html` file.

Expand Down
Loading