aboutsummaryrefslogtreecommitdiff
path: root/Makefile (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-06-26Makefile: use shorter syntax for cp in "install" targetEuAndreh1-1/+1
2021-06-26Makefile: Remove trailing \EuAndreh1-1/+1
2021-06-26Makefile: Mark src/git-permalink as executable in "all" targetEuAndreh1-1/+1
2021-06-25mv src/git-permalink.sh.in src/git-permalin.inEuAndreh1-4/+3
Mostly to avoid the conflict of the ".sh" built-in rule in the Makefile.
2021-06-25Release v0.2.2v0.2.2EuAndreh1-1/+1
2021-06-25Makefile: Fix installation path of manpagesEuAndreh1-2/+2
2021-06-25Makefile: Make "spellcheck" depend on "public"EuAndreh1-3/+3
2021-06-25Release v0.2.1v0.2.1EuAndreh1-3/+3
2021-06-25aux/workflow/assert-spelling.sh: Add; init dictionaries; fix spellingEuAndreh1-5/+10
- aux/workflow/l10n.sh: fix handling of $@; - Makefile: remove circular dependency between dev-check and public by adding the "l10n-gen" target.
2021-06-23aux/workflow/manpages.sh: Refactor how manpages and translations are madeEuAndreh1-15/+24
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.
2021-06-23aux/: Explicitly pass "public/" as a parameter to scriptsEuAndreh1-1/+1
2021-06-22tests/remotes.sh: AddEuAndreh1-0/+1
2021-06-22tests/install-uninstall.sh: AddEuAndreh1-0/+1
2021-06-22mv src/git-permalink.sh src/git-permalink.sh.inEuAndreh1-1/+1
2021-06-19Release v0.2.0v0.2.0EuAndreh1-2/+2
2021-06-19Makefile: Fix arguments to aux/workflow/dist.shEuAndreh1-1/+1
2021-06-19Add aux/workflow/manpages.sh to install, uninstall and generate HTML from ↵EuAndreh1-11/+5
translated manpages
2021-06-19Leverage po4a to translate manpagesEuAndreh1-0/+1
2021-06-17Makefile: Use mkdir+cp over installEuAndreh1-1/+2
TIL: install isn't POSIX.
2021-06-17Makefile: Ignore failure when creating ./git-permalink fileEuAndreh1-3/+2
In case of failure, a "make clean" will fix it.
2021-06-17Update aux/workflow/assert-changelog.shEuAndreh1-1/+1
2021-06-16Makefile: Remove .PHONY targetEuAndreh1-2/+0
2021-06-16Makefile: Add $(manpages) as a dependency of the "public" targetEuAndreh1-1/+1
2021-06-14Makefile: Use pandoc to generate HTML version of manpagesEuAndreh1-2/+2
2021-06-13Release v0.1.0v0.1.0EuAndreh1-1/+1
2021-06-12Makefile: Add aux/workflow/assert-manpages.shEuAndreh1-0/+1
2021-06-12Makefile: Actually generate manpages HTMLEuAndreh1-0/+1
2021-06-12Makefile: Add "all" as a dependency to "check"EuAndreh1-1/+1
2021-06-12Add initial version of tests/cli-opts.sh testsEuAndreh1-5/+8
2021-06-12Makefile: Don't use gzip by defaultEuAndreh1-2/+2
2021-06-12Makefile: Remove wrong $(soaliases) variableEuAndreh1-1/+1
2021-06-12Add stup tests/cli-opts.shEuAndreh1-1/+1
2021-06-12Makefile: Add "check" and "dev-check" placeholders; fix (un)installEuAndreh1-10/+14