File: Makefile

package info (click to toggle)
fityk 1.3.1-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 3,784 kB
  • sloc: cpp: 34,396; ansic: 4,673; python: 971; makefile: 366; sh: 117; java: 31; ruby: 27; perl: 25; xml: 16
file content (25 lines) | stat: -rw-r--r-- 637 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

# this is normal Makefile, _not_ generated by autotools

SPHINX = sphinx-build -a -d ./doctrees/

html: *.rst fitheme/* fitheme/static/* conf.py
	$(SPHINX) -b html . html
	rm -f html/objects.inv html/.buildinfo

fityk-banner.pdf: fityk-banner.svg
	inkscape --export-text-to-path --export-pdf=$@ $<

pdf:
	rm -rf doctrees/
	$(SPHINX) -b latex . latex
	cd latex/ && make all-pdf

website:
	rm -rf web
	BUILD_WEBSITE=1 $(SPHINX) -b html -Awebsite=1 . web
	cp screenshots/fityk-1.0.1-osx-so.png web/_images/
	rm -f web/objects.inv web/.buildinfo
	sed -i 's/&mdash; Fityk ..... manual//' web/index.html web/screens.html

.PHONY: pdf website