<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git-permalink/doc, branch v0.2.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>http://euandre.org/git/git-permalink/atom?h=v0.2.2</id>
<link rel='self' href='http://euandre.org/git/git-permalink/atom?h=v0.2.2'/>
<link rel='alternate' type='text/html' href='http://euandre.org/git/git-permalink/'/>
<updated>2021-06-25T14:56:53Z</updated>
<entry>
<title>git mv po/ doc/po/</title>
<updated>2021-06-25T14:56:53Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2021-06-25T00:00:59Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/git-permalink/commit/?id=479ef66b1205fab66fa0d46782b5d81748104a58'/>
<id>urn:sha1:479ef66b1205fab66fa0d46782b5d81748104a58</id>
<content type='text'>
</content>
</entry>
<entry>
<title>aux/workflow/assert-spelling.sh: Add; init dictionaries; fix spelling</title>
<updated>2021-06-25T14:56:53Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2021-06-24T12:14:31Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/git-permalink/commit/?id=f4deaf6bd66ed07cab897002c4cacd2e28027552'/>
<id>urn:sha1:f4deaf6bd66ed07cab897002c4cacd2e28027552</id>
<content type='text'>
- aux/workflow/l10n.sh: fix handling of $@;
- Makefile: remove circular dependency between dev-check and public by
  adding the "l10n-gen" target.
</content>
</entry>
<entry>
<title>aux/workflow/manpages.sh: Refactor how manpages and translations are made</title>
<updated>2021-06-24T00:01:24Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2021-06-23T23:44:40Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/git-permalink/commit/?id=412a3f36cb40dba18f4f0f70a6804882ac6c68eb'/>
<id>urn:sha1:412a3f36cb40dba18f4f0f70a6804882ac6c68eb</id>
<content type='text'>
I didn't like the previous version of aux/workflow/manpages.sh mainly for 2 reasons:
1. its CLI was terrible, ugly and fragile;
2. it mixed handling manpages and handling *translations*.

The first step was to split the translations part to a different file:
aux/workflow/l10n.sh.  Now it has the base logic for running po4a, and
can apply it to manpages.  It is useful for updating translated files
in other scenarios, such as catgets() message catalogs, markdown files,
etc.

After I used the venerable getopts to handle the command line
arguments, and give aux/workflow/manpages.sh a saner interface.

I disliked the fact that aux/workflow/manpages.sh still is being used
for the "install" and "uninstall" targets.  Before this file, the
canonical workflow of "make &amp;&amp; make install/uninstall" was 100%
embedded within the Makefile itself.  But now the Makefile calls to an
external script for that.  This isn't a real cost, other than how
obvious the behaviour is for someone looking at the Makefile for the
first time.

I still chose to do it anyway, because there was already too many
things in the Makefile itself, and it was getting worse with time.  I
made sure to never cross the line of relying on an external tool for
the canonical "make &amp;&amp; make install/uninstall", and even for
"make check".  Those all work without requiring any extra tool outside
what POSIX defines, such as "sed", "awk", etc.  Despite the cost of
adding this detour from the liner Makefile flow, I found it to be worth
it to call to the external script, as this script can now also be
shared across projects, and the customized Makefile be made simpler.

In other to remove the "-- $(do_subst)" horrendous hack, I chose to use
an inference rule for ".in" files, and remove the "$(do_subst)"
variable altogether.  Now all the files that need to go through sed
should end in ".in", and the Makefile will take care of producing it.
The upside is that this model is much better integrater into make
itself.

Addresses #task-9ee2bbc8-295f-52b7-4104-483869bad017.
</content>
</entry>
<entry>
<title>git mv doc/*.po po/</title>
<updated>2021-06-23T16:28:31Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2021-06-23T16:27:06Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/git-permalink/commit/?id=5eead55ef6b2078f0c994b779e020d65dbeef60d'/>
<id>urn:sha1:5eead55ef6b2078f0c994b779e020d65dbeef60d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>doc/: s/SYNOPSYS/SYNOPSIS/</title>
<updated>2021-06-22T22:36:27Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2021-06-22T22:36:27Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/git-permalink/commit/?id=7676cd75fbc67ba98650c28a15a7938692395576'/>
<id>urn:sha1:7676cd75fbc67ba98650c28a15a7938692395576</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add small example of using -- on manpage</title>
<updated>2021-06-22T15:23:57Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2021-06-22T15:23:57Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/git-permalink/commit/?id=761a80b9e95c32b233d8f2a60208b7915795142b'/>
<id>urn:sha1:761a80b9e95c32b233d8f2a60208b7915795142b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>doc/git-permalink.*.1: Mark SUPPORTED REMOTES and OVERRIDES as .SS</title>
<updated>2021-06-21T18:26:38Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2021-06-21T18:22:46Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/git-permalink/commit/?id=c1f27ad0dadcab90939c157cd516a4204fd9919d'/>
<id>urn:sha1:c1f27ad0dadcab90939c157cd516a4204fd9919d</id>
<content type='text'>
Make SUPPORTED REMOTES and OVERRIDES subsections (.SS) of a new
parent section: CONFIGURATIONS.

Also put SUPPORTED REMOTES before OVERRIDES on the order.
</content>
</entry>
<entry>
<title>doc/git-permalink.*.1: Mark OPTIONS as to be replaced</title>
<updated>2021-06-21T18:12:54Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2021-06-21T18:12:52Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/git-permalink/commit/?id=dd529f393357a1709fe2146f02720ff5fb215e6c'/>
<id>urn:sha1:dd529f393357a1709fe2146f02720ff5fb215e6c</id>
<content type='text'>
Also improve french translation: s/FICHIERS/FICHIER/.
</content>
</entry>
<entry>
<title>doc/git-permalink.*.1: Add `EXIT STATUS` section; mention `STDOUT` in `-p` option</title>
<updated>2021-06-21T18:06:23Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2021-06-21T17:44:20Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/git-permalink/commit/?id=1dff45eb075a8717a65c2a79e454b6e61c52f14d'/>
<id>urn:sha1:1dff45eb075a8717a65c2a79e454b6e61c52f14d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>doc/pt.po: Fix typo s/OPÇÔES/OPÇÕES/</title>
<updated>2021-06-20T17:30:53Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2021-06-20T17:30:53Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/git-permalink/commit/?id=bd4b871d42375127242f880ecf50d486f5a327ba'/>
<id>urn:sha1:bd4b871d42375127242f880ecf50d486f5a327ba</id>
<content type='text'>
</content>
</entry>
</feed>
