-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
revert: "Merge branch 'refactor/zinit-function-names' into main"
This reverts commit b979847, reversing changes made to da924a2. I (@vladdoster) accidentally merged this into the wrong repository. Apologies for the lack of due diligence.
- Loading branch information
1 parent
b979847
commit 515688b
Showing
36 changed files
with
5,461 additions
and
5,944 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,10 @@ | ||
.git/ | ||
.github/ | ||
.git* | ||
doc/ | ||
scripts/ | ||
test/ | ||
tests/ | ||
|
||
*.zwc | ||
Makefile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,57 @@ | ||
# This Makefile is to convert supplied Asciidoc files into | ||
# other formats like pdf and man. The files contain Zplugin's | ||
# code documentation. | ||
# *.adoc files are generated by Makefile from upper (i.e. top) directory. | ||
|
||
SRC := $(shell zsh -c "echo {'git-process-output','rpm2cpio'}.zsh zinit{'','-additional','-autoload','-install','-side'}.zsh") | ||
|
||
PDF_SRC := $(foreach wrd,$(SRC),$(wrd).pdf) | ||
PDF_CMD := asciidoctor -a reproducible -b pdf -r asciidoctor-pdf -D pdf | ||
|
||
MAN_SRC := $(foreach wrd,$(SRC),man/$(wrd)) | ||
MAN_CMD := a2x --verbose -L --doctype manpage --format manpage -D man | ||
|
||
.PHONY: all clean test man pdf | ||
|
||
all: clean man pdf | ||
dirs: | ||
mkdir -p man pdf | ||
|
||
# Manual pages | ||
# uses a2x from asciidoc package | ||
man: dirs $(MAN_SRC) | ||
man/git-process-output.zsh: | ||
$(MAN_CMD) git-process-output.zsh.adoc | ||
man/rpm2cpio.zsh: | ||
$(MAN_CMD) rpm2cpio.zsh.adoc | ||
man/zinit-additional.zsh: | ||
$(MAN_CMD) zinit-additional.zsh.adoc | ||
man/zinit-autoload.zsh: | ||
$(MAN_CMD) zinit-autoload.zsh.adoc | ||
man/zinit-install.zsh: | ||
$(MAN_CMD) zinit-install.zsh.adoc | ||
man/zinit-side.zsh: | ||
$(MAN_CMD) zinit-side.zsh.adoc | ||
man/zinit.zsh: | ||
$(MAN_CMD) zinit.zsh.adoc | ||
# | ||
# *.adoc files are generated by Makefile from upper (i.e. top) | ||
# directory. | ||
|
||
all: man pdf | ||
|
||
# MANUALS | ||
# Converted with a2x from asciidoc package | ||
|
||
man: man/zinit.zsh.1 man/zinit-side.zsh.1 man/zinit-install.zsh.1 man/zinit-autoload.zsh.1 | ||
|
||
man/zinit.zsh.1: | ||
@mkdir -p man | ||
a2x --verbose -L --doctype manpage --format manpage -D man zinit.zsh.adoc | ||
|
||
man/zinit-side.zsh.1: | ||
@mkdir -p man | ||
a2x --verbose -L --doctype manpage --format manpage -D man zinit-side.zsh.adoc | ||
|
||
man/zinit-install.zsh.1: | ||
@mkdir -p man | ||
a2x --verbose -L --doctype manpage --format manpage -D man zinit-install.zsh.adoc | ||
|
||
man/zinit-autoload.zsh.1: | ||
@mkdir -p man | ||
a2x --verbose -L --doctype manpage --format manpage -D man zinit-autoload.zsh.adoc | ||
|
||
# PDFS | ||
# uses asciidoctor not a2x (i.e. not asciidoc) | ||
pdf: dirs $(PDF_SRC) | ||
git-process-output.zsh.pdf: | ||
$(PDF_CMD) git-process-output.zsh.adoc | ||
rpm2cpio.zsh.pdf: | ||
$(PDF_CMD) rpm2cpio.zsh.adoc | ||
zinit-additional.zsh.pdf: | ||
$(PDF_CMD) zinit-additional.zsh.adoc | ||
zinit-autoload.zsh.pdf: | ||
$(PDF_CMD) zinit-autoload.zsh.adoc | ||
zinit-install.zsh.pdf: | ||
$(PDF_CMD) zinit-install.zsh.adoc | ||
zinit-side.zsh.pdf: | ||
$(PDF_CMD) zinit-side.zsh.adoc | ||
zinit.zsh.pdf: | ||
$(PDF_CMD) zinit.zsh.adoc | ||
# Uses asciidoctor not a2x (i.e. not asciidoc) | ||
|
||
pdf: pdf/zinit.zsh.pdf pdf/zinit-side.zsh.pdf pdf/zinit-install.zsh.pdf pdf/zinit-autoload.zsh.pdf | ||
|
||
pdf/zinit.zsh.pdf: | ||
@mkdir -p pdf | ||
asciidoctor -a reproducible -b pdf -r asciidoctor-pdf -D pdf zinit.zsh.adoc | ||
|
||
pdf/zinit-side.zsh.pdf: | ||
@mkdir -p pdf | ||
asciidoctor -a reproducible -b pdf -r asciidoctor-pdf -D pdf zinit-side.zsh.adoc | ||
|
||
pdf/zinit-install.zsh.pdf: | ||
@mkdir -p pdf | ||
asciidoctor -a reproducible -b pdf -r asciidoctor-pdf -D pdf zinit-install.zsh.adoc | ||
|
||
pdf/zinit-autoload.zsh.pdf: | ||
@mkdir -p pdf | ||
asciidoctor -a reproducible -b pdf -r asciidoctor-pdf -D pdf zinit-autoload.zsh.adoc | ||
|
||
clean: | ||
rm -rf man pdf data | ||
|
||
# vim:ft=make:noet:sts=4:ts=4 | ||
.PHONY: man pdf clean | ||
|
||
# vim:noet:sts=8:ts=8 |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.