Commit Graph

26 Commits

Author SHA1 Message Date
Damien Elmes
795f36aeb0 add comment about pretty to makefile 2019-12-20 20:37:29 +10:00
Damien Elmes
c1587254f4 use isort to tidy up imports 2019-12-20 19:19:29 +10:00
Damien Elmes
5fbe9ff048 rebuild gui if any icons change 2019-12-19 21:11:27 +10:00
Damien Elmes
06b2cb1875 update make instructions 2019-12-19 07:46:25 +10:00
Damien Elmes
99502e20ea ignore buildhash when checking if tests need to be re-run 2019-12-18 21:06:47 +10:00
Damien Elmes
c15f71071e fix broken js building
- deps need to be defined before used
- incremental builds were not working properly
2019-12-18 17:56:58 +10:00
Damien Elmes
aab765292a individual build rules need to depend on prereqs 2019-12-18 17:28:23 +10:00
Damien Elmes
71c0e23b77 do typecheck setup as part of prereqs install 2019-12-18 17:18:24 +10:00
Damien Elmes
d7d0d9bf88 add prettier, tidy up makefile 2019-12-18 16:12:02 +10:00
Damien Elmes
a98c0c6791 automatically install deps as part of build 2019-12-18 15:09:46 +10:00
Damien Elmes
685962faae make checks depend on full build 2019-12-18 14:52:53 +10:00
Damien Elmes
f3bfed82ef compile typescript in one go
much faster, especially with --incremental
2019-12-18 14:33:57 +10:00
Damien Elmes
b676e484d3 update make clean 2019-12-18 13:57:04 +10:00
Damien Elmes
ddb4db0c96 editor 2019-12-18 13:55:52 +10:00
Damien Elmes
de29b02089 deckbrowser and overview 2019-12-18 13:21:58 +10:00
Damien Elmes
9b04a92df2 add typescript to build 2019-12-18 12:53:13 +10:00
Damien Elmes
c1cbab0d23 avoid running checks/builds when nothing has changed
with some defaults taken from https://tech.davis-hansson.com/p/make/
2019-12-18 11:12:17 +10:00
Damien Elmes
8ea7820bc1 add missing license file 2018-03-17 10:37:50 +10:00
Daniel Drake
954fc91d1f Makefile: make xdg-mime calls non-fatal
xdg-mime may not be available in the build root being used.
Allow application installation to proceed anyway.
2018-03-15 22:00:21 +08:00
Daniel Drake
87e9effc84 Makefile: only install required files
The previous Makefile is doing "cp *" and hence installing uninteresting
files like the Makefile itself.

Copy only the application-relevant files, and switch to using install
for some of this where we can automatically create parent directories
if required, solving issues when installing into an empty root.

locale installation is optional; as before, locale files will be
installed if they are present, but installation can also proceed
without them.
2018-03-15 21:59:23 +08:00
Daniel Drake
08234805e0 Fix consistency between /usr and /usr/local
By default the Makefile installs data into /usr/share (with default prefix
/usr) but the binary is installed into /usr/local/bin (as if the prefix
were /usr/local).

Improve consistency by dropping "local" from the binary path. If the
user wants to install into /usr/local he/she can do PREFIX=/usr/local
2018-03-08 23:22:41 -06:00
Daniel Drake
4cee3807ff runanki.system: fix prefix at install time
Currently the Makefile lets you choose your own PREFIX, but
the installed runanki.system always hardcodes the prefix as /usr.

Fix runanki.system at install time to install into the designated
PREFIX.
2018-03-08 23:22:41 -06:00
Damien Elmes
ca9a6fb86c fix make install for source 2017-01-17 11:25:55 +10:00
Damien Elmes
8bde269194 don't error out if /usr/share/pixmaps doesn't exist
folder is missing on freebsd
2013-12-09 11:54:18 +09:00
Damien Elmes
798c6661ad fix make install 2012-12-21 18:04:13 +09:00
Damien Elmes
d477df8c28 merged libanki and ankiqt into single distro 2012-12-21 16:51:59 +09:00