Commit Graph

31 Commits

Author SHA1 Message Date
quietok(david) bca592adf6 new location macos 11 homebrew qt 2021-09-13 11:00:34 +02:00
linear 0a8ecd6223 Fix building on macOS/arm64
Homebrew installs to a different directory on macOS/arm64.

this adds checks in the Makefile and in kristall.pro, and sets
the correct paths to Homebrew depending on whether the build is
targeting arm64 or not.
2021-09-05 11:03:57 +02:00
Thomas Groman 9e0f8e1f7a cleanup mime entry during uninstall
Signed-off-by: Thomas Groman <tgroman@nuegia.net>
2021-05-08 10:56:05 +02:00
Thomas Groman 3a191422ed Default install to user prefix
Signed-off-by: Thomas Groman <tgroman@nuegia.net>
2021-05-08 10:56:01 +02:00
Thomas Groman 5abc9cbe1e fix varible conflict in make install MANPATH conflicts with system environment varible so we rename it to MANPATH2
Signed-off-by: Thomas Groman <tgroman@nuegia.net>
2021-05-08 10:52:07 +02:00
Karol Kosek f799f7a05e Makefile: quote QMAKE_CONFIG variable to prevent word splitting 2021-03-09 21:24:25 +01:00
Carlos Henrique Lima Melara a6f4bb38b7 Removes built manpage on clean 2021-03-04 22:51:40 +01:00
Felix (xq) Queißner 763bd817cb Adds missing mkdir. 2021-03-03 09:50:03 +01:00
Michael Skec 965a868efe Makefile: Change manpath to include PREFIX
Co-authored-by: Karol Kosek <krkk@krkk.ct8.pl>
Signed-off-by: Mike Skec <skec@protonmail.ch>
2021-03-02 10:55:50 +01:00
Mike Skec 026198ca4c Makefile: add man page to install/uninstall targets
Currently we install the man page by default to /usr/share/man/man1/kristall.1. This should be fine - we allow users to specify the MANPATH variable on command line if they wish to install somewhere else. We could make it more complicated by using /usr/share/man:/usr/lib/jvm/default/man command to determine install location, but unless this becomes an issue, I don't think we'd need to use that
2021-03-02 10:55:50 +01:00
Karol Kosek 291bfd02b4 Makefile: remove MAKEFLAGS parameter from sub-make calls
This broke running make with flags like -k or -s set,
because make apparently removes hyphens from those flags,
making it to think that we want to run a not existing target.

Also, flags are stored in env, so child processes know which flags
are in use and we don't have to provide them again.
2021-02-23 12:30:42 +01:00
Karol Kosek 7ec3ed15aa Allow to use external cmark 2021-01-04 11:08:25 +01:00
Karol Kosek 3b9b21f11f Add text/{gemini,x-kristall} mime types during installation
Allows Kristall to distinguish gemini document and its theme files from
plain text file on a disk by a file extension.
2020-12-24 23:31:01 +01:00
nixo 3e53261935 Makefile: make build/kristall .PHONY (else rebuild won't trigger)
https://www.gnu.org/software/make/manual/html_node/Phony-Targets.html
2020-11-01 09:33:33 +01:00
Haz d65fa4e1b2 Correct `mkdir` command name 2020-08-13 19:51:50 +02:00
Felix (xq) Queißner 57819218dc Merge branch 'master' of github.com:MasterQ32/kristall 2020-07-20 17:34:39 +02:00
Felix (xq) Queißner 06abd3f6f2 Reincludes makedir in makefile. 2020-07-20 17:34:36 +02:00
Jagger De Leo 7fbf49b216 Fix dangling semi-colon 2020-07-06 09:16:07 +02:00
Jagger De Leo 95afe80c3b Add Homebrew lib and include paths to build script
Add macOS app icon
2020-07-06 09:16:07 +02:00
Erik Beck 23fac02682 Added information to Makefile and BUILDING.md on how to build for Fedora 32, per request of repository owner 2020-07-01 23:24:04 +02:00
Erik Beck be73532265 Set a Variable QMAKE in the makefile to direct build on Fedora 32, where 'qmake' doesn't exist, but qmake-qt5 (and qmake-qt4) does. 2020-07-01 23:24:04 +02:00
Isaac Freund 5d409b0db9 Pass -D flag to install instead of mkdir -p
This causes install to create directories in the install path if they
do not already exist.

mkdir -p doesn't work here if prefix directories don't exist yet.
2020-07-01 11:02:19 +02:00
Felix (xq) Queißner 8e910f26a2 Paves road for new favourite system: Refactors the favourites into tree structure instead of flat list. 2020-06-29 20:17:42 +02:00
Felix (xq) Queißner a53e490d2e Fixes #24, thanks @paolomi 2020-06-28 13:13:24 +02:00
Felix (xq) Queißner bc3850e7d0 Continues to improve Makefile. Thanks styan 2020-06-21 23:28:36 +02:00
James Tomasino 3b9738c9c6 adds sourcefiles as dependency to build task
Monitoring the modified state of source files for the build task means
that simply running 'make' will detect if a rebuild is actually needed
or not. Currently if the build file exists make is not run again. A
clean must be run first, then make. This is an improvement on that.
2020-06-12 11:24:40 +00:00
James Tomasino 4b860e437a overhaul of Makefile for clean install with desktop file and icons 2020-06-11 11:25:15 +00:00
Felix (xq) Queißner 2779c61e83 Adds first draft of client certificate management. 2020-06-11 02:17:32 +02:00
Felix (xq) Queißner ab3e5ad5f2 Adds install target to makefile, adds support for transient client certificates. 2020-06-10 21:38:05 +02:00
Felix (xq) Queißner f02ccb928f Starts to implement gopher protocol and gophermap support. Heavily WIP, but you can already surf on gopherspace! 2020-06-08 00:30:32 +02:00
Felix (xq) Queißner 77b2898109 Adds build helper. 2020-06-07 01:42:47 +02:00