debian swirl logo

Back to the packages list num-utils

#!/usr/bin/make -f

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

DEB_MAKE_INSTALL_TARGET = install \
	DESTDIR= $(CURDIR)/debian/num-utils \
	DOCDIR= $(DESTDIR)/usr/share/doc/num-utils

update-config::
		[ ! -e average ] || mv average numaverage
		[ ! -e bound ] || mv bound numbound
		[ ! -e interval ] || mv interval numinterval
		[ ! -e normalize ] || mv normalize numnormalize
		[ ! -e random ] || mv random numrandom
		[ ! -e range ] || mv range numrange
		[ ! -e round ] || mv round numround
		[ ! -e CHANGELOG ] || mv CHANGELOG Changelog

clean::
		rm -f *.1.gz

reverse-config::
		[ -e average ] || mv numaverage average
		[ -e bound ] || mv numbound bound
		[ -e interval ] || mv numinterval interval
		[ -e normalize ] || mv numnormalize normalize
		[ -e random ] || mv numrandom random
		[ -e range ] || mv numrange range
		[ -e round ] || mv numround round
		[ -e CHANGELOG ] || mv Changelog CHANGELOG

install/num-utils::
		rm -f debian/num-utils/usr/share/doc/num-utils/LICENSE
		rm -f debian/num-utils/usr/share/doc/num-utils/COPYING
		rm -f debian/num-utils/usr/share/doc/num-utils/MANIFEST

Builds:

num-utils
programs for dealing with numbers from the command line