| Commit message (Expand) | Author | Age | Files | Lines |
| * | Makefile: use shorter syntax for cp in "install" target | EuAndreh | 2021-06-26 | 1 | -1/+1 |
| * | Makefile: Remove trailing \ | EuAndreh | 2021-06-26 | 1 | -1/+1 |
| * | Makefile: Mark src/git-permalink as executable in "all" target | EuAndreh | 2021-06-26 | 1 | -1/+1 |
| * | mv src/git-permalink.sh.in src/git-permalin.in•••Mostly to avoid the conflict of the ".sh" built-in rule in the
Makefile.
| EuAndreh | 2021-06-25 | 1 | -4/+3 |
| * | Release v0.2.2v0.2.2 | EuAndreh | 2021-06-25 | 1 | -1/+1 |
| * | Makefile: Fix installation path of manpages | EuAndreh | 2021-06-25 | 1 | -2/+2 |
| * | Makefile: Make "spellcheck" depend on "public" | EuAndreh | 2021-06-25 | 1 | -3/+3 |
| * | Release v0.2.1v0.2.1 | EuAndreh | 2021-06-25 | 1 | -3/+3 |
| * | aux/workflow/assert-spelling.sh: Add; init dictionaries; fix spelling•••- aux/workflow/l10n.sh: fix handling of $@;
- Makefile: remove circular dependency between dev-check and public by
adding the "l10n-gen" target.
| EuAndreh | 2021-06-25 | 1 | -5/+10 |
| * | aux/workflow/manpages.sh: Refactor how manpages and translations are made•••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 && 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 && 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.
| EuAndreh | 2021-06-23 | 1 | -15/+24 |
| * | aux/: Explicitly pass "public/" as a parameter to scripts | EuAndreh | 2021-06-23 | 1 | -1/+1 |
| * | tests/remotes.sh: Add | EuAndreh | 2021-06-22 | 1 | -0/+1 |
| * | tests/install-uninstall.sh: Add | EuAndreh | 2021-06-22 | 1 | -0/+1 |
| * | mv src/git-permalink.sh src/git-permalink.sh.in | EuAndreh | 2021-06-22 | 1 | -1/+1 |
| * | Release v0.2.0v0.2.0 | EuAndreh | 2021-06-19 | 1 | -2/+2 |
| * | Makefile: Fix arguments to aux/workflow/dist.sh | EuAndreh | 2021-06-19 | 1 | -1/+1 |
| * | Add aux/workflow/manpages.sh to install, uninstall and generate HTML from tra... | EuAndreh | 2021-06-19 | 1 | -11/+5 |
| * | Leverage po4a to translate manpages | EuAndreh | 2021-06-19 | 1 | -0/+1 |
| * | Makefile: Use mkdir+cp over install•••TIL: install isn't POSIX.
| EuAndreh | 2021-06-17 | 1 | -1/+2 |
| * | Makefile: Ignore failure when creating ./git-permalink file•••In case of failure, a "make clean" will fix it.
| EuAndreh | 2021-06-17 | 1 | -3/+2 |
| * | Update aux/workflow/assert-changelog.sh | EuAndreh | 2021-06-17 | 1 | -1/+1 |
| * | Makefile: Remove .PHONY target | EuAndreh | 2021-06-16 | 1 | -2/+0 |
| * | Makefile: Add $(manpages) as a dependency of the "public" target | EuAndreh | 2021-06-16 | 1 | -1/+1 |
| * | Makefile: Use pandoc to generate HTML version of manpages | EuAndreh | 2021-06-14 | 1 | -2/+2 |
| * | Release v0.1.0v0.1.0 | EuAndreh | 2021-06-13 | 1 | -1/+1 |
| * | Makefile: Add aux/workflow/assert-manpages.sh | EuAndreh | 2021-06-12 | 1 | -0/+1 |
| * | Makefile: Actually generate manpages HTML | EuAndreh | 2021-06-12 | 1 | -0/+1 |
| * | Makefile: Add "all" as a dependency to "check" | EuAndreh | 2021-06-12 | 1 | -1/+1 |
| * | Add initial version of tests/cli-opts.sh tests | EuAndreh | 2021-06-12 | 1 | -5/+8 |
| * | Makefile: Don't use gzip by default | EuAndreh | 2021-06-12 | 1 | -2/+2 |
| * | Makefile: Remove wrong $(soaliases) variable | EuAndreh | 2021-06-12 | 1 | -1/+1 |
| * | Add stup tests/cli-opts.sh | EuAndreh | 2021-06-12 | 1 | -1/+1 |
| * | Makefile: Add "check" and "dev-check" placeholders; fix (un)install | EuAndreh | 2021-06-12 | 1 | -10/+14 |
| * | Add base skeleton project files | EuAndreh | 2021-03-21 | 1 | -0/+46 |