File: rules

package info (click to toggle)
wxmaxima 0.7.0a-1
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 2,436 kB
  • ctags: 1,832
  • sloc: cpp: 16,322; sh: 2,921; lisp: 740; makefile: 170; ansic: 13
file content (27 lines) | stat: -rwxr-xr-x 901 bytes parent folder | download | duplicates (2)
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.0a
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