52 lines
1023 B
Makefile
Executable File
52 lines
1023 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
# -*- makefile -*-
|
|
# Sample debian/rules that uses debhelper.
|
|
# GNU copyright 1997 to 1999 by Joey Hess.
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
#export DH_VERBOSE=1
|
|
|
|
PY_INTERPRETER = /usr/bin/python
|
|
|
|
build: build-stamp
|
|
build-indep: build-stamp
|
|
build-arch:
|
|
@echo Nothing to build
|
|
|
|
build-stamp:
|
|
dh_testdir
|
|
python3 setup.py build
|
|
touch build-stamp
|
|
|
|
clean:
|
|
dh_testdir
|
|
dh_testroot
|
|
rm -f build-stamp
|
|
rm -rf build
|
|
-find . -name '*.py[co]' | xargs rm -f
|
|
dh_clean
|
|
|
|
install: build
|
|
dh_testdir
|
|
dh_testroot
|
|
dh_clean
|
|
dh_installdirs
|
|
python3 setup.py install --root=$(CURDIR)/debian/stcgal --install-layout=deb
|
|
dh_python3
|
|
|
|
# Build architecture-independent files here.
|
|
binary-indep: build install
|
|
dh_testdir
|
|
dh_testroot
|
|
dh_fixperms
|
|
dh_installdeb
|
|
dh_gencontrol
|
|
dh_md5sums
|
|
dh_builddeb
|
|
|
|
# Build architecture-dependent files here.
|
|
binary-arch: build install
|
|
# We have nothing to do by default.
|
|
|
|
binary: binary-indep binary-arch
|
|
.PHONY: build clean binary-indep binary-arch binary install configure |