source: repoman/trunk/fuentes/debian/rules @ 7934

Last change on this file since 7934 was 7934, checked in by Juanma, 16 months ago

update rules

  • Property svn:executable set to *
File size: 904 bytes
Line 
1#!/usr/bin/make -f
2# -*- makefile -*-
3# Sample debian/rules that uses debhelper.
4# This file was originally written by Joey Hess and Craig Small.
5# As a special exception, when this file is copied by dh-make into a
6# dh-make output file, you may use that output file without restriction.
7# This special exception was added by Craig Small in version 0.37 of dh-make.
8
9# Uncomment this to turn on verbose mode.
10#export DH_VERBOSE=1
11export PYBUILD_NAME=repomanager
12export PYBUILD_DESTDIR_python2=debian/python-repomanager
13export PYBUILD_DESTDIR_python3=debian/python3-repomanager
14
15%:
16        dh $@ --with python2,python3 --buildsystem pybuild
17
18override_dh_auto_install:
19        dh_auto_install
20        python3 setup3.py install --root $(CURDIR)/debian/python3-repomanager --prefix=/usr
21        python3 setup3.py clean --all
22        python setup.py install --root $(CURDIR)/debian/python-repomanager --prefix=/usr
23        python setup.py clean --all
Note: See TracBrowser for help on using the repository browser.