File: rules

package info (click to toggle)
v-sim 3.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 15,860 kB
  • sloc: ansic: 75,222; sh: 10,239; makefile: 580; python: 572; cpp: 353; xml: 130
file content (25 lines) | stat: -rwxr-xr-x 1,102 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
#!/usr/bin/make -f
# Copyright 2008 Sylvestre Ledru <sylvestre.ledru@inria.fr>

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk

DEB_CONFIGURE_USER_FLAGS := --with-etsf-file-format --with-openbabel --with-xsf --with-cube --enable-introspection --disable-static --docdir=\$${prefix}/share/doc/v-sim-doc
DEB_MAKE_INSTALL_TARGET  := install DESTDIR=$(DEB_DESTDIR)
DEB_INSTALL_DOCS_v-sim := -XAUTHORS -Xbugs -XREADME -XNEWS -Xtodo -XChangeLog
DEB_INSTALL_DOCS_v-sim-doc := -XAUTHORS -XREADME -XNEWS
DEB_INSTALL_DOCS_v-sim-plugins := -XAUTHORS -XREADME -XNEWS
DEB_INSTALL_DOCS_gir1.2-v-sim-1.0 := -XAUTHORS -XREADME -XNEWS

# Avoid postinst-has-useless-call-to-ldconfig
DEB_DH_MAKESHLIBS_ARGS_v-sim-plugins := -n
# Avoid compressing files that are required as clear texts by V_Sim.
DEB_DH_COMPRESS_ARGS_ALL := -Xlicence.fr.txt -Xlicence.en.txt -XChangeLog.fr -XChangeLog.en
# Avoid unfound .gir for the typelib
DEB_DH_GIREPOSITORY_ARGS := -pgir1.2-v-sim-1.0

#install/v-sim-doc::
#	rm -rf debian/tmp/usr/share/gtk-doc

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