mnemosyne-proj / mnemosyne

Mnemosyne: efficient learning with powerful digital flash-cards.
https://mnemosyne-proj.org/
Other
507 stars 74 forks source link

Building proposals #238

Closed kuraga closed 1 year ago

kuraga commented 1 year ago

Good day! Building proposals.

  1. Replace
build:
    # Just the bare minimum to get things running
    cd mnemosyne/pyqt_ui && make

build-all-deps:
    # Also rebuilds the docs and the translations.
    cd mnemosyne/libmnemosyne/docs && make SPHINXBUILD=$(SPHINXBUILD) html
    cd mnemosyne/pyqt_ui && make clean
    cd mnemosyne/pyqt_ui && make
    cd po && make update
    cd po && make

with something like

build-ui:

build-po:

build-docs:

build-all-deps: build-ui build-po build-docs
  1. ~Split clean target. It would add a possibility to clean exactly what you need.~~

  2. Replace the default target from run to build-all-deps.

  3. ~Don't build documentation by build-all-deps~.

  4. run have to causes build-all-deps instead of build.

Thanks!

pbienst commented 1 year ago

I don't have anything against these changes. Feel free to submit a pull request!

kuraga commented 1 year ago

Done in #239.