aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
AgeCommit message (Collapse)Author
2022-05-22Makefile: Remove trailing slashes from install directoriesHEADv0.0.1masterTeddy Wing
I think this is confusing Homebrew.
2022-05-22Makefile: Remove filenames from install destinationsTeddy Wing
Install to directories instead of filenames. We don't need the filenames, and on top of that, `$(MAN_PAGE)` was wrong, as it includes the "doc/" prefix.
2022-05-22Makefile: Use `prefix` etc. variablesTeddy Wing
I'm getting a destroot error in MacPorts: Failed to activate wajir: Image error: /bin already exists and does not belong to a registered port. Trying to see if this fixes it.
2022-05-22Makefile: Fix man page installTeddy Wing
Create the man page directory before installing it. Otherwise it fails to install. Also use 644 permissions on the man page as that's more appropriate.
2022-05-22Makefile: Use `DESTDIR` instead of `PREFIX`Teddy Wing
`DESTDIR` seems to be more standardised. Didn't set the variable because according to the Make manual, you're not supposed to: > You should not set the value of DESTDIR in your Makefile at all https://www.gnu.org/software/make/manual/make.html#DESTDIR_003a-Support-for-Staged-Installs
2022-05-22Makefile: Add root directory prefix to release tarballTeddy Wing
Put all files in the tarball in a `wajir_$(VERSION)` folder. Otherwise, MacPorts couldn't figure out where the root directory was.
2022-05-22Makefile: Add source file dependencies to `pkg` targetTeddy Wing
2022-05-22Makefile: Remove dependencies from `bundle` targetTeddy Wing
This seemed to cause the `bundle` target to be run even in the packaged release tarball. In that case, the 'bundle/' directory should already exist, and we don't want to rebuild it. We might also have been able to resolve this by generating the 'bundle/' tar before the project `git archive` tar, but I couldn't figure out how to concatenate two tars together with BSD tar.
2022-05-22Makefile: Add `pkg` targetoTeddy Wing
Packages source files including dependencies for release.
2022-05-22Makefile: Have the `install` target depend on the binary and man pageTeddy Wing
2022-05-22Makefile: Bundle dependencies for packagingTeddy Wing
Since I can't load Quicklisp dependencies when building with Homebrew or MacPorts, do `(ql:bundle-systems)` to create a bundle that includes all dependencies and can be packaged into a tarball for building from package managers.
2022-05-21Makefile: Add `install` targetTeddy Wing
2022-05-21Add license (GNU GPLv3+)Teddy Wing
2022-05-11Makefile: Generate man page from AsciidocTeddy Wing
2022-05-08Parse command line optionsTeddy Wing
* Define command line options for the program * Define Make rules to build a binary * Fix system entrypoint definition * Comment out some application code to test command line option parsing