File: rules

package info (click to toggle)
scilab-scimysql 0.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 988 kB
  • ctags: 105
  • sloc: xml: 7,315; ansic: 2,573; sql: 143; makefile: 19; sh: 6
file content (28 lines) | stat: -rwxr-xr-x 882 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/make -f
# Copyright 2010 Sylvestre Ledru <sylvestre@debian.org>

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk

DEB_DH_MAKESHLIBS_ARGS_scilab-scimysql = -n

build/scilab-scimysql::
		SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1 /usr/bin/scilab -nw -f builder.sce

clean:: 
		rm -rf build check jar src/libscimysql.so help/*/.last_successful_build_javaHelp
		rm -fr build-stamp help/*/scilab_*_help/ help/*/.list_*
		rm -f install-stamp

install/scilab-scimysql::
		dh_testdir
		dh_testroot
		mkdir -p $(CURDIR)/debian/scilab-scimysql/usr/lib/scilab-scimysql/lib/
		mkdir -p $(CURDIR)/debian/scilab-scimysql/usr/share/scilab/contrib/
		cd $(CURDIR)/debian/scilab-scimysql/usr/share/scilab/contrib/; \
		rm -f scilab-scimysql; \
		ln -s ../../../lib/scilab-scimysql/ scimysql


get-orig-source:
	-uscan --upstream-version 0