debian swirl logo

Back to the packages list geomview

#! /usr/bin/make -f

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

CFLAGS += -fno-strict-aliasing
CXXFLAGS += -fno-strict-aliasing

DEB_CONFIGURE_EXTRA_FLAGS = --with-htmlbrowser=sensible-browser
DEB_MAKE_BUILD_TARGET = all 
DEB_MAKE_CHECK_TARGET = check

DEB_MAKE_INVOKE += moduledir=/usr/lib/geomview

build/geomview:: doc/geomview.ps

install/geomview::
		rm -f debian/tmp/usr/share/info/dir
		dh_install debian/geomview.desktop usr/share/applications
		dh_installmenu
		dh_install debian/geomview.xpm usr/share/pixmaps
		dh_installexamples doc/example1.c doc/example2.c doc/example3.c doc/example4.tcl

install/libgeomview-dev::
	sed -i "s/^dependency_libs= .*/dependency_libs=''/" debian/tmp/usr/lib/libgeomview.la

doc/geomview.ps:
		$(MAKE) -C doc geomview.ps

Builds:

geomview
interactive geometry viewing program
libgeomview-1.9.4
geomview library runtime
libgeomview-dev
geomview library development package