File: Makefile

package info (click to toggle)
pam-python 1.0.6-1.1%2Bdeb10u1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 416 kB
  • sloc: ansic: 2,461; python: 681; makefile: 162
file content (18 lines) | stat: -rw-r--r-- 412 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
PREFIX	?= /usr
DOCDIR	?= $(PREFIX)/share/doc/pam_python

.PHONY: build
build:
	sphinx-build -b html -E . html
	rm -f html/index.html && ln -s pam_python.html html/index.html

.PHONY: install install-doc
install: install-doc
install-doc:
	mkdir -p $(DESTDIR)$(DOCDIR)/html
	cp -a html/* $(DESTDIR)$(DOCDIR)/html
	mkdir -p $(DESTDIR)$(DOCDIR)/examples
	cp -a ../examples $(DESTDIR)$(DOCDIR)/.

clean:
	rm -rf html