Makefile can install various localized manpages
This commit is contained in:
parent
4b0394fd96
commit
9a02e730e8
5 changed files with 21 additions and 8 deletions
23
Makefile
23
Makefile
|
|
@ -699,9 +699,11 @@ uninstall: uninstall-i18n
|
||||||
-rm -r $(DATA_PREFIX)
|
-rm -r $(DATA_PREFIX)
|
||||||
-rm -r $(DOC_PREFIX)
|
-rm -r $(DOC_PREFIX)
|
||||||
-rm $(MAN_PREFIX)/man1/tuxpaint.1.gz
|
-rm $(MAN_PREFIX)/man1/tuxpaint.1.gz
|
||||||
-rm $(MAN_PREFIX)/pl/man1/tuxpaint.1.gz
|
-rm $(MAN_PREFIX)/*/man1/tuxpaint.1.gz
|
||||||
-rm $(MAN_PREFIX)/man1/tuxpaint-import.1.gz
|
-rm $(MAN_PREFIX)/man1/tuxpaint-import.1.gz
|
||||||
|
-rm $(MAN_PREFIX)/*/man1/tuxpaint-import.1.gz
|
||||||
-rm $(MAN_PREFIX)/man1/tp-magic-config.1.gz
|
-rm $(MAN_PREFIX)/man1/tp-magic-config.1.gz
|
||||||
|
-rm $(MAN_PREFIX)/*/man1/tp-magic-config.1.gz
|
||||||
-rm -f -r $(CONFDIR)
|
-rm -f -r $(CONFDIR)
|
||||||
-rm $(COMPLETIONDIR)/tuxpaint-completion.bash
|
-rm $(COMPLETIONDIR)/tuxpaint-completion.bash
|
||||||
-rm -r $(MAGIC_PREFIX)
|
-rm -r $(MAGIC_PREFIX)
|
||||||
|
|
@ -1070,22 +1072,31 @@ install-doc:
|
||||||
.PHONY: install-man
|
.PHONY: install-man
|
||||||
install-man:
|
install-man:
|
||||||
@echo
|
@echo
|
||||||
@echo "...Installing man pages..."
|
@echo "...Installing English man pages..."
|
||||||
@# man1 directory...
|
@# man1 directory...
|
||||||
@install -d $(MAN_PREFIX)/man1
|
@install -d $(MAN_PREFIX)/man1
|
||||||
@# tuxpaint.1
|
@# tuxpaint.1
|
||||||
@cp man/tuxpaint.1 $(MAN_PREFIX)/man1
|
@cp man/en/tuxpaint.1 $(MAN_PREFIX)/man1/
|
||||||
@gzip -f $(MAN_PREFIX)/man1/tuxpaint.1
|
@gzip -f $(MAN_PREFIX)/man1/tuxpaint.1
|
||||||
@chmod a+rx,g-w,o-w $(MAN_PREFIX)/man1/tuxpaint.1.gz
|
@chmod a+rx,g-w,o-w $(MAN_PREFIX)/man1/tuxpaint.1.gz
|
||||||
@# tuxpaint-import.1
|
@# tuxpaint-import.1
|
||||||
@cp man/tuxpaint-import.1 $(MAN_PREFIX)/man1/
|
@cp man/en/tuxpaint-import.1 $(MAN_PREFIX)/man1/
|
||||||
@gzip -f $(MAN_PREFIX)/man1/tuxpaint-import.1
|
@gzip -f $(MAN_PREFIX)/man1/tuxpaint-import.1
|
||||||
@chmod a+rx,g-w,o-w $(MAN_PREFIX)/man1/tuxpaint-import.1.gz
|
@chmod a+rx,g-w,o-w $(MAN_PREFIX)/man1/tuxpaint-import.1.gz
|
||||||
@# tp-magic-config.1
|
@# tp-magic-config.1
|
||||||
@cp man/tp-magic-config.1 $(MAN_PREFIX)/man1/
|
@cp man/en/tp-magic-config.1 $(MAN_PREFIX)/man1/
|
||||||
@gzip -f $(MAN_PREFIX)/man1/tp-magic-config.1
|
@gzip -f $(MAN_PREFIX)/man1/tp-magic-config.1
|
||||||
@chmod a+rx,g-w,o-w $(MAN_PREFIX)/man1/tp-magic-config.1.gz
|
@chmod a+rx,g-w,o-w $(MAN_PREFIX)/man1/tp-magic-config.1.gz
|
||||||
|
@echo
|
||||||
|
for l in `ls -d man/*.UTF-8 | cut -d '/' -f 2`; do \
|
||||||
|
DEST=$(MAN_PREFIX)/$$l/man1 ; \
|
||||||
|
echo "...Installing $$l man pages into $$DEST..." ; \
|
||||||
|
install -d $$DEST ; \
|
||||||
|
cp man/$$l/tuxpaint.1 $$DEST ; \
|
||||||
|
gzip -f $$DEST/tuxpaint.1 ; \
|
||||||
|
chmod a+rx,g-w,o-w $$DEST/tuxpaint.1.gz ; \
|
||||||
|
done
|
||||||
|
@# FIXME: The other man pages aren't localizable yet -bjk 2021.08.14
|
||||||
|
|
||||||
# Install the support files for macOS application bundle
|
# Install the support files for macOS application bundle
|
||||||
.PHONY: install-macbundle
|
.PHONY: install-macbundle
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ http://www.tuxpaint.org/
|
||||||
|
|
||||||
$Id$
|
$Id$
|
||||||
|
|
||||||
2021.August.9 (0.9.27)
|
2021.August.14 (0.9.27)
|
||||||
* Documentation updates
|
* Documentation updates
|
||||||
---------------------
|
---------------------
|
||||||
* Ensured Tux Paint's built-in help ("tuxpaint --help"),
|
* Ensured Tux Paint's built-in help ("tuxpaint --help"),
|
||||||
|
|
@ -24,7 +24,9 @@ $Id$
|
||||||
to more closely (but not precisely) match the organization
|
to more closely (but not precisely) match the organization
|
||||||
noted above.
|
noted above.
|
||||||
|
|
||||||
* Remove the very outdated Polish translation of Tux Paint's man page.
|
* WIP - tuxpaint(1) manpage is now managed & translatable
|
||||||
|
via `tuxpaint-docs` project, just like the HTML & plaintext
|
||||||
|
documentation files.
|
||||||
|
|
||||||
2021.June.28 (0.9.26)
|
2021.June.28 (0.9.26)
|
||||||
* New Features
|
* New Features
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue