File: rules

package info (click to toggle)
kboincspy 0.9.1-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 12,880 kB
  • ctags: 3,964
  • sloc: cpp: 29,018; sh: 9,736; perl: 2,793; makefile: 472; xml: 119
file content (51 lines) | stat: -rwxr-xr-x 1,902 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/usr/bin/make -f

# Remember to comment this before tagging for a release.
#DEB_AUTO_UPDATE_DEBIAN_CONTROL := yes

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

DEB_CONFIGURE_EXTRA_FLAGS := --with-gl
DEB_DH_MAKESHLIBS_ARGS_kboincspy := -V"kboincspy (>= 0.9.1), kboincspy (<< 0.9.2)"
DEB_INSTALL_DOCS_ALL :=
DEB_INSTALL_MANPAGES_kboincspy := kboincspy.1

post-patches::
# Removing these files, which were generated by uic, saves us from
# patching some Makefile.ins for adding `$(srcdir)/'. They are
# regenerated by uic anyway.
	-rm src/kbsconfigpage.h
	-rm src/kbslocationdialog.h
	-rm src/kbsprojectdialog.h
	-rm src/kbsprojectwizardcontent.h
	-rm src/kbsproxydialog.h
	-rm src/panels/common/client/kbsclientcontent.h
	-rm src/panels/common/host/kbshostcontent.h
	-rm src/panels/common/performance/kbsperformancecontent.h
	-rm src/panels/common/processor/kbsprocessorcontent.h
	-rm src/panels/common/progress/kbsprogresscontent.h
	-rm src/panels/seti/calibration/kbsseticalibrationcontent.h
	-rm src/panels/seti/performance/kbssetiperformancecontent.h
	-rm src/panels/seti/progress/kbssetiprogresscontent.h
	
	cp -f /usr/share/libtool/libtool.m4 admin/libtool.m4.in
	cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
	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

build/kboincspy::
	docbook2x-man debian/manpages/kboincspy.xml

install/kboincspy::
	install -p -D -m644 debian/lintian debian/$(cdbs_curpkg)/usr/share/lintian/overrides/$(cdbs_curpkg)
	find debian/tmp/usr/lib -maxdepth 1 -type f -name *.so -exec cp {} debian/$(cdbs_curpkg)/usr/lib \;

install/kboincspy-dev::
	find debian/tmp/usr/lib -maxdepth 1 -type l -name *.so -exec cp -d {} debian/$(cdbs_curpkg)/usr/lib \;

clean::
	dh_clean kboincspy.1