File: rules

package info (click to toggle)
devhelp 3.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,296 kB
  • sloc: sh: 12,001; ansic: 10,024; python: 316; makefile: 239; perl: 216; lisp: 30
file content (32 lines) | stat: -rwxr-xr-x 929 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
29
30
31
32
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/gnome.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk

DEB_DH_MAKESHLIBS_ARGS_ALL += -V -- -c4

X_TOOLS += misc/devhelp.vim \
	misc/html2funcs.py \
	misc/html2xml.py \
	misc/man2xml.py

clean::
	rm -f debian/devhelp.emacsen-startup
	rm -f src/dh-marshal.h

binary-install/devhelp-common::
	dh_python2 -p$(cdbs_curpkg) /usr/lib/gedit/plugins

binary-post-install/devhelp::
	install -d `pwd`/debian/devhelp/usr/share/pixmaps/
	install -m 644 debian/devhelp-debian.xpm \
		`pwd`/debian/devhelp/usr/share/pixmaps/
	install -d `pwd`/debian/devhelp/usr/share/doc/devhelp/tools/
	install -m 644 $(X_TOOLS) \
		`pwd`/debian/devhelp/usr/share/doc/devhelp/tools/

pre-build::
	cp misc/devhelp.el debian/devhelp.emacsen-startup