File: rules

package info (click to toggle)
geotranz 3.3-2
  • links: PTS
  • area: main
  • in suites: buster
  • size: 230,572 kB
  • sloc: cpp: 36,916; java: 13,214; makefile: 1,256; xml: 64; sh: 38; csh: 30
file content (21 lines) | stat: -rwxr-xr-x 760 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
#!/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.3 := -l`pwd`/debian/libgeotranz3.3/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