File: rules

package info (click to toggle)
geotranz 3.7-1.1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 242,384 kB
  • sloc: cpp: 37,618; java: 13,594; makefile: 953; xml: 67; sh: 38; csh: 21
file content (32 lines) | stat: -rwxr-xr-x 1,152 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
28
29
30
31
32
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/makefile.mk

DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
DEB_DH_SHLIBDEPS_ARGS_libgeotranz3.7 := -l`pwd`/debian/libgeotranz3.7/usr/lib/$(DEB_HOST_MULTIARCH)/geotranz

build-indep:
	make makefile-build-indep-target

build-arch:
	make makefile-build-arch-target

install/geotranz::
	convert GEOTRANS3/java_gui/geotrans3/gui/icons/Geotrans.gif debian/geotranz/usr/share/pixmaps/geotrans.xpm

install/libgeotranz3-dev::
	cd CCS/src/; find . -type f -name '*.h' -print0 | \
		cpio -pmdu0 ../../debian/libgeotranz3-dev/usr/include/geotranz
	sed 's/@DEB_HOST_MULTIARCH@/$(DEB_HOST_MULTIARCH)/g' debian/geotranz.pc.in > debian/geotranz.pc

binary-install/geotranz::
	find debian/geotranz/usr/share/geotranz/data/ -type f -exec chmod -x {} +

#override_dh_auto_build:
#        # create symlink
#        ln -s /usr/share/fonts/truetype/dseg/DSEG7Modern-Regular.ttf platform/qt/Fonts/
#        symlinks -c platform/qt/Fonts/
#override_dh_auto_clean:
#        # delete symlink
#        rm -rf platform/qt/Fonts/DSEG7Modern-Regular.ttf