summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/applications/kftpgrabber/debian/rules
blob: bf88a13345c7043106740e6a2c2a691a6b94eea1 (plain)
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
33
34
35
#!/usr/bin/make -f
 
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/kde.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/rules/utils.mk

DEB_BUILDDIR = .
DEB_INSTALL_MANPAGES_kftpgrabber-trinity := kftpgrabber.1

build-stamp:
	dh_testdir

	/usr/bin/libtoolize -f
	cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
	cp -f /usr/share/misc/config.guess admin/config.guess
	cp -f /usr/share/misc/config.sub admin/config.sub

	$(MAKE) -f admin/Makefile.common
	
	QTDIR=/usr/share/tqt3 ./configure $(configkde) --disable-final 
	$(MAKE)
	touch build-stamp

build/kftpgrabber-trinity::
	/usr/bin/docbook2x-man debian/kftpgrabber.xml

install/kftpgrabber-trinity::
	install -D -p -m644 debian/kftpgrabber-trinity.lintian-overrides \
	  debian/kftpgrabber-trinity/usr/share/lintian/overrides/kftpgrabber-trinity

clean::
	rm -f kftpgrabber.1
	rm -f translations/*/messages/*.gmo