source: epi/trunk/fuentes/debian/rules @ 6153

Last change on this file since 6153 was 6153, checked in by kbut, 3 years ago

set scripts to package

File size: 999 bytes
Line 
1#!/usr/bin/make -f
2# See debhelper(7) (uncomment to enable)
3# output every command that modifies files on the build system.
4#export DH_VERBOSE = 1
5
6
7# see FEATURE AREAS in dpkg-buildflags(1)
8#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
9
10# see ENVIRONMENT in dpkg-buildflags(1)
11# package maintainers to append CFLAGS
12#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
13# package maintainers to append LDFLAGS
14#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
15
16export PYBUILD_NAME=epi
17%:
18        dh $@ --with python3 --buildsystem pybuild
19
20# dh_make generated override targets
21# This is example for Cmake (See https://bugs.debian.org/641051 )
22#override_dh_auto_configure:
23#       dh_auto_configure -- #  -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
24
25override_dh_auto_install:
26        dh_auto_install
27        python3 setup_cli.py install --root $(CURDIR)/debian/epi-cli --prefix=/usr
28        python3 setup_cli.py clean --all
29        python3 setup_gtk.py install --root $(CURDIR)/debian/epi-gtk --prefix=/usr
30        python3 setup_gtk.py clean --all
Note: See TracBrowser for help on using the repository browser.