Revision bc2e4aba
Création de fichiers .deb sans les sources.
Ajoute la possibilité de créer des paquets debian ne contenant pas les
sources.
Change-Id: I0c0f04a17319e11c633a8da004f0facf5758cfc0
Reviewed-on: https://vigilo-dev.si.c-s.fr/review/1229
Tested-by: Build system <qa@vigilo-dev.si.c-s.fr>
Reviewed-by: Francois POIROTTE <francois.poirotte@c-s.fr>
debian/rules | ||
---|---|---|
8 | 8 |
PKGNAME=$(shell printf "%s" `dpkg-parsechangelog | grep '^Source:' | cut -d: -f2-`) |
9 | 9 |
VERSION=$(shell printf "%s" `dpkg-parsechangelog | grep '^Version:' | cut -d: -f2-`) |
10 | 10 |
|
11 |
ifeq "$(NOPY)" "" |
|
12 |
helper=python2 |
|
13 |
else |
|
14 |
helper=python2_nopy |
|
15 |
endif |
|
16 |
|
|
11 | 17 |
%: |
12 |
dh $@ --with python2,sphinxdoc
|
|
18 |
dh $@ --with $(helper),sphinxdoc
|
|
13 | 19 |
|
14 | 20 |
override_dh_auto_clean: |
15 | 21 |
dh_auto_clean -- buildclean |
16 | 22 |
$(RM) -rf vigilo_vigigraph.egg-info |
17 | 23 |
find vigigraph/i18n/ -name '*.mo' -o -name '*.js' -delete |
24 |
ifneq "$(NOPY)" "" |
|
25 |
-rm -f $(CURDIR)/debian/docs $(CURDIR)/debian/copyright |
|
26 |
endif |
|
18 | 27 |
|
19 | 28 |
override_dh_auto_build: |
20 | 29 |
/usr/bin/python setup.py compile_catalog |
Also available in: Unified diff