~ubuntu-branches/ubuntu/wily/libsvm/wily

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Chen-Tse Tsai
  • Date: 2012-06-11 16:14:24 UTC
  • mfrom: (1.1.7) (4.1.11 sid)
  • Revision ID: package-import@ubuntu.com-20120611161424-0z69j9e8v5xaff4v
Tags: 3.12-1
* New upstream release
* Remove patchsys-quilt.mk and upgrade to packaging format "3.0 quilt".
(Closes: #667791)
* Update to Standards-Version to 3.9.3 and debhelper to 9.
* Change obsolete depends default-jdk-builddep to default-jdk. 
(Closes: #669223)
* Fix description-synopsis-starts-with-article (Lintian).
* Fix extended-description-is-probably-too-short (Lintian).
* Fix needless-dependency-on-jre (Lintian).
* Fix capitalization-error-in-description Python (Lintian).
* Fix duplicate-short-description (Lintian).
* Add build-arch and build-indep rules. (Closes: #673215)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
3
3
include /usr/share/cdbs/1/rules/debhelper.mk
4
 
#include /usr/share/cdbs/1/rules/patchsys-quilt.mk
5
4
#include /usr/share/cdbs/1/class/makefile.mk
6
5
#include /usr/share/python/python.mk
7
6
 
21
20
# use pysupport to install files of python-libsvm
22
21
#PYVERS=$(shell pyversions -vs)
23
22
LVER=3
24
 
LSUBVER=1
 
23
LSUBVER=12
25
24
SOVER=$(LVER).$(LSUBVER)
26
25
LIBFILE=libsvm.so.$(SOVER)
27
26
CXX ?= g++
28
27
CFLAGS = -Wall -Wconversion -O3
29
28
LIBFLAGS = -fPIC
30
29
 
31
 
build: svm-train svm-predict svm-scale $(LIBFILE) .javastuff chname
 
30
build: build-arch build-indep
 
31
build-arch: svm-train svm-predict svm-scale $(LIBFILE) chname
 
32
build-indep: .javastuff
32
33
 
33
34
.javastuff:
34
35
        $(MAKE) -C java