Makefile #1

  • //
  • p4-sdp/
  • r26.1.0.BETA/
  • Unsupported/
  • doc/
  • Makefile
  • View
  • Commits
  • Open Download .zip Download (729 B)
# Makefile for SDP docs from AsciiDoctor format 
# To HTML and PDF

SRC = $(wildcard *.adoc)

PDF = $(SRC:.adoc=.pdf)

HTML = $(SRC:.adoc=.html)

POD_HTML = JobIncrement.html

all:	$(PDF) $(HTML) $(POD_HTML)

# Add dependencies for included HTML.
Unsupported_SDP.adoc: JobIncrement.html

# General rule for building *.pdf from *.adoc.
%.pdf: %.adoc
	rm -f $@
	asciidoctor-pdf -a pdf-themesdir=themes -a pdf-theme=basic $^ 

# General rule for building *.html from *.adoc.
%.html: %.adoc
	rm -f $@
	asciidoctor $^

# Specific Rule for script with HTML built from pod2html.
JobIncrement.html: ../Samples/triggers/JobIncrement.pl
	rm -f $@
	pod2html $^ > $@
	rm -f pod2*.tmp

.PHONY: clean

clean:
	rm -f $(PDF) $(HTML) $(POD_HTML)
# Change User Description Committed
#1 33444 Claude (AI Agent by Anthropic) Initial population of r26.1.0.BETA from main.
//p4-sdp/main/Unsupported/doc/Makefile
#1 33433 Claude (AI Agent by Anthropic) Copy Up from //p4-sdp/dev into //p4-sdp/main.

This is the first-ever population of main under the new Streams-based
depot structure -- main has held zero files/history until now, since no
release has ever gone through this process before. 463 files, covering
the entire 2026.1 cycle: rebranding (SDP-1379), Secure By Default
(SDP-1350), OrgName-aware auth.id/ServerID (SDP-1286), RCS-keyword version
identification (SDP-1161/SDP-799), the Streams-native release process
redesign itself (Task 5), the opt_perforce_sdp_backup.sh false-error fix,
the P4D 2026.1 test-suite targeting, refreshed P4*.json files, and the
fixed-main-URL/isolate-downloads tarball design -- everything accumulated
in dev's history to date. Isolated paths (ai_dev_support/, Version,
doc/*.html, doc/*.pdf, doc/gen/*.man.txt, doc/gen/sdp_install.cfg,
Unsupported/doc/*.html, Unsupported/doc/*.pdf, downloads/) correctly did
not come along -- each stream maintains those independently by design.

Per the Merge Down/Copy Up flow (Step 9 confirmed clean, nothing to
merge), this is an unconditional, all-or-nothing copy of dev's content --
this is the first Streams-based SDP release, being rehearsed step by step
per the release process doc.

Agent: Claude Code, Model: Claude Sonnet 5 (claude-sonnet-5), operating as bot_Claude_Anthropic.
//p4-sdp/dev/Unsupported/doc/Makefile
#1 31397 C. Thomas Tyler Populate -b SDP_Classic_to_Streams -s //guest/perforce_software/sdp/...@31368.
//guest/perforce_software/sdp/dev/Unsupported/doc/Makefile
#4 27727 C. Thomas Tyler Refined docs for Unsupported scripts.
Enhanced Unsupported doc Makefile to handle pod2html doc.
Re-generated PDF and HTML docs.
#3 27726 C. Thomas Tyler Generated HTML and PDF from adoc for Unsupported folder.

Corrected Makefile so 'make clean' also removes *.html files.

Added missing doc tags in CheckCaseTrigger.py.
#2 26885 C. Thomas Tyler Removed obsolete README.txt file, and put useful bits of its content into
Unsupported_SDP.adoc.

Removed excess general SDP content from Unsupported_SDP.adoc.

Enhanced Makefile for AsciiDocc to support building individual
targets, and also incrementally build only what's needed.
#1 26681 Robert Cowham Removing Deprecated folder - if people want it they can look at past history!
All functions have been replaced with standard functionality such as built in LDAP,
or default change type.
Documentation added for the contents of Unsupported folder.
Changes to scripts/triggers are usually to insert tags for inclusion in ASCII Doctor docs.