File: Makefile.in

package info (click to toggle)
zope2.13 2.13.22-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, sid
  • size: 38,644 kB
  • ctags: 38,805
  • sloc: python: 196,395; xml: 90,515; ansic: 24,121; sh: 916; makefile: 333; perl: 37
file content (48 lines) | stat: -rw-r--r-- 1,158 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
44
45
46
47
48
#!/usr/bin/make -f
# -*- makefile -*-
export PYTHON:=%(python_exec)s
DIST_NAME:=%(name)s
DIST_VER:=%(major_minor_version)s
DIST_FULLVER:=$(DIST_VER).%(point_version)s
PIPVER:=%(pip_version)s
DIST_INDEX:=%(index)s

export DIST_DEST:=%(lib_dest)s
export SCRIPT_DEST:=%(script_dest)s
export PTH_DEST:=%(pth_dest)s

export PYTHONPATH:=
DESTDIR:=
# Exclusions are a colon separated list of distribution names.
DIST_SINGLE_EXCLUSIONS:=
DIST_EXCLUSIONS:=

# Change the following value to 1 to enable debug logging.
export DEBUG:=0

all: clean build
	@echo "Now run 'make install'"

clean:
	@echo "Cleaning..."
	-rm -rf ./build
	-find ./source/ -maxdepth 2 -type d -name "build" -exec rm -rf {} \;

distclean: clean
	@rm Makefile

build:
	@echo "Building ${DIST_NAME} ${DIST_VER}..."
	@$(PYTHON) ./debian/build-scripts/build.py \
		--exclude ${DIST_EXCLUSIONS} \
		--final-dir ${DIST_DEST} \
		--name ${DIST_NAME}
	@echo "Now run 'make install'"

install:
	@$(PYTHON) ./debian/build-scripts/install.py \
		--dists-dest ${DESTDIR}${DIST_DEST} \
		--scripts-dest ${DESTDIR}${SCRIPT_DEST} \
		--pth-dest ${DESTDIR}${PTH_DEST}

.PHONY: all build install clean distclean