File: rules

package info (click to toggle)
homebank 5.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 9,200 kB
  • sloc: ansic: 42,376; sh: 3,564; makefile: 406; xml: 12
file content (20 lines) | stat: -rwxr-xr-x 726 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
#!/usr/bin/make -f

include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/gnome.mk
#include /usr/share/cdbs/1/rules/patchsys-quilt.mk

DEB_INSTALL_MANPAGES_homebank = debian/homebank.1
DEB_CONFIGURE_EXTRA_FLAGS := --htmldir=/usr/share/doc/homebank-data/help

#to avoid the deletion of data/homebank.desktop.in by clean target
#we copy data/homebank.desktop.in in homebank.desktop.in-orig
#and then we restore the original situation after the clean.

cleanbuilddir/homebank::
	cp data/homebank.desktop.in homebank.desktop.in-orig

clean::
	rm -f intltool-extract intltool-merge intltool-update config.log
	mv homebank.desktop.in-orig data/homebank.desktop.in