File: Makefile.am

package info (click to toggle)
kopanocore 8.7.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 15,400 kB
  • sloc: cpp: 175,422; python: 24,623; perl: 7,319; php: 6,056; sh: 2,172; makefile: 1,294; xml: 45; ansic: 1
file content (25 lines) | stat: -rw-r--r-- 747 bytes parent folder | download
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
EXTRA_DIST = setup.cfg setup.py \
	kopano/__init__.py \
	kopano/lockfile.py \
	kopano/daemon/LICENSE \
	kopano/daemon/__init__.py \
	kopano/daemon/daemon.py \
	kopano/daemon/pidlockfile.py \
	kopano/daemon/runner.py \
	kopano/daemon/version/__init__.py \
	kopano/daemon/version/version_info.py

install-exec-local:
	rm -Rf staging
	${MKDIR_P} staging
	cp -a ${srcdir}/setup.py ${srcdir}/setup.cfg ${srcdir}/kopano staging/
	cp -a kopano/version.py staging/kopano/
	cd staging/ && ${PYTHON} setup.py \
		build --build-base="${abs_builddir}/build" \
		install --install-layout=deb -f $${DESTDIR+--root=${DESTDIR}} \
		${NULL}
	rm -Rf build staging

uninstall-local:
	rm -Rf ${DESTDIR}${pythondir}/kopano \
		${DESTDIR}${pythondir}/kopano-*.egg-info