summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r--Master/texmf-dist/doc/latex/photobook/Makefile34
-rw-r--r--Master/texmf-dist/doc/latex/photobook/README.md7
-rw-r--r--Master/texmf-dist/doc/latex/photobook/photobook.pdfbin134431 -> 135441 bytes
3 files changed, 32 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/latex/photobook/Makefile b/Master/texmf-dist/doc/latex/photobook/Makefile
index fd760d03529..24fa243a4fa 100644
--- a/Master/texmf-dist/doc/latex/photobook/Makefile
+++ b/Master/texmf-dist/doc/latex/photobook/Makefile
@@ -58,7 +58,8 @@ MODULE := photobook
VERSION = $(strip $(shell \
cat $(MODULE).cls \
| grep 'VERSION{' \
- | sed 's/.*{\(.*\)}.*/\1/'))
+ | sed 's/.*{\(.*\)}.*/\1/' \
+ | sed 's/v//'))
DATE = $(strip $(shell date "+%Y%m%d%H%M"))
COMMIT = $(strip $(shell git rev-parse HEAD))
@@ -266,10 +267,6 @@ manual:
mv manual/*.pdf .
-%.zipnote: %.zip
- zipnote $< > $@
-
-
.PHONY: dist
dist: $(DIST_FILES)
$(MD) $(DIST_DIR)
@@ -279,9 +276,30 @@ dist: $(DIST_FILES)
| sed 's/^\@ \([^(].*\)$$/@ \1\n@=$(MODULE)\/\1/' \
| zipnote -w $(DIST_DIR)/$(DIST_NAME).zip
-CTAN: dist
- $(MD) $(DIST_DIR)/CTAN
- cp $(DIST_DIR)/$(DIST_NAME).zip $(DIST_DIR)/CTAN/$(MODULE).zip
+
+# this is used to create a CTAN-compatible dist archive...
+.PHONY: ctan-dist
+ctan-dist: dist
+ cp -f $(DIST_DIR)/$(DIST_NAME).zip $(DIST_DIR)/$(MODULE).zip
+
+
+
+.PHONY: tag
+tag:
+ @echo "Will create and publish git tag:"
+ @echo " $(VERSION)"
+ @echo "Last 5 tags:"
+ @git tag -l '[0-9]*'\
+ | tail -n 5 \
+ | sed 's/^/ /'
+ @echo "Note that this must be done after a commit."
+ @read -p "(press any key to continue or ctrl-c to cancel)"
+ git tag "$(VERSION)"
+ git commit origin "$(VERSION)"
+
+
+#.PHONY: publish
+#publish: dist
.PHONY: all
diff --git a/Master/texmf-dist/doc/latex/photobook/README.md b/Master/texmf-dist/doc/latex/photobook/README.md
index cbab31c2801..8a1aea8caaa 100644
--- a/Master/texmf-dist/doc/latex/photobook/README.md
+++ b/Master/texmf-dist/doc/latex/photobook/README.md
@@ -18,6 +18,12 @@
## Build / Install
+The package is available on:
+- CTAN: https://ctan.org/pkg/photobook
+- GitHub: https://github.com/flynx/photobook
+
+
+To install from source:
```shell
# get the source...
$ git clone https://github.com/flynx/photobook.git
@@ -35,7 +41,6 @@ $ make pdf
For more info on `make` targets see the: [./Makefile](./Makefile)
-
## Authors
[Alex A. Naanou](https://github.com/flynx)
diff --git a/Master/texmf-dist/doc/latex/photobook/photobook.pdf b/Master/texmf-dist/doc/latex/photobook/photobook.pdf
index 42b6a53eb4a..505e80f0579 100644
--- a/Master/texmf-dist/doc/latex/photobook/photobook.pdf
+++ b/Master/texmf-dist/doc/latex/photobook/photobook.pdf
Binary files differ