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 (43 lines) | stat: -rw-r--r-- 1,253 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# -*- Makefile -*-
if WITH_PYTHON3

EXTRA_DIST = setup.py \
	setup.cfg \
	kopano_rest/__init__.py \
	kopano_rest/__main__.py \
	kopano_rest/utils.py \
	kopano_rest/api_v1/config.py \
	kopano_rest/api_v1/__init__.py \
	kopano_rest/api_v1/notify.py \
	kopano_rest/api_v1/rest.py \
	kopano_rest/resource/attachment.py \
	kopano_rest/resource/calendar.py \
	kopano_rest/resource/contactfolder.py \
	kopano_rest/resource/contact.py \
	kopano_rest/resource/event.py \
	kopano_rest/resource/folder.py \
	kopano_rest/resource/group.py \
	kopano_rest/resource/__init__.py \
	kopano_rest/resource/item.py \
	kopano_rest/resource/mailfolder.py \
	kopano_rest/resource/message.py \
	kopano_rest/resource/profilephoto.py \
	kopano_rest/resource/resource.py \
	kopano_rest/resource/user.py

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

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

endif