File: Makefile

package info (click to toggle)
sfepy 2025.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 27,280 kB
  • sloc: python: 75,106; ansic: 13,270; makefile: 117; sh: 30
file content (18 lines) | stat: -rw-r--r-- 481 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
PYTHON := $(shell command -v python3 || command -v python)

all clean: site_cfg.py
site_cfg.py:
	cp site_cfg_template.py site_cfg.py
	$(info Set correct Python version in site_cfg.py before running `make`.)
	$(info ----------------------------------------------------------------)

all:
	$(PYTHON) setup.py build_ext --inplace
clean:
	$(PYTHON) setup.py clean
htmldocs:
	$(PYTHON) setup.py htmldocs
pdfdocs:
	$(PYTHON) setup.py pdfdocs
doxygendocs:
	$(PYTHON) setup.py doxygendocs