File: rules

package info (click to toggle)
wxmaxima 0.7.1-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,892 kB
  • ctags: 1,956
  • sloc: cpp: 17,651; sh: 2,921; lisp: 800; makefile: 184
file content (27 lines) | stat: -rwxr-xr-x 900 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
#!/usr/bin/make -f
# Sample debian/rules that uses cdbs.  Originaly written by Robert Millan.
# This file is public domain.

DEB_TAR_SRCDIR                  := wxmaxima-0.7.1
DEB_AUTO_CLEANUP_RCS            := yes

#DEB_DH_INSTALL_SOURCEDIR := debian/wxmaxima
DEB_DH_INSTALL_ARGS := -v
# Add here any variable or target overrides you need

DEB_CONFIGURE_EXTRA_FLAGS := --disable-dnd

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


binary-predeb/wxmaxima::
	rm -fr $(DEB_DESTDIR)/usr/share/wxMaxima/COPYING
	mkdir $(DEB_DESTDIR)/usr/share/wxMaxima/icons
	cp debian/maximaicon.xpm $(DEB_DESTDIR)/usr/share/wxMaxima/icons

binary-install/wxmaxima::
	rm -rf $(DEB_DESTDIR)/usr/share/doc/wxmaxima/NEWS
	mv $(DEB_DESTDIR)/usr/share/wxMaxima/README $(DEB_DESTDIR)/usr/share/doc/wxmaxima/
	dh_desktop -pwxmaxima