debian swirl logo

Back to the packages list snacc

#!/usr/bin/make -f

DEB_INSTALL_DOCS_snacc-doc= doc/snacc-a5.ps
DEB_INSTALL_EXAMPLES_libsnacc-dev= c++-examples c-examples tbl-example
DEB_INSTALL_MANPAGES_snacc= debian/berdecode.1 debian/snacc-config.1

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

DEB_CONFIGURE_EXTRA_FLAGS= --libdir=/usr/lib/$(DEB_HOST_MULTIARCH)

include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/autoreconf.mk

DB2MAN= http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl

build/snacc::
		cd debian; xsltproc --nonet --novalid $(DB2MAN) berdecode.dbk
		cd debian; xsltproc --nonet --novalid $(DB2MAN) snacc-config.dbk

install/snacc::
		rm -rf $(CURDIR)/debian/snacc/usr/share/doc/snacc-doc/

binary-post-install/snacc::
		rm -f $(CURDIR)/debian/snacc/usr/share/man/man1/snacced.1*

clean::
		dh_clean

Builds:

libsnacc0c2
asn.1 to c or c++ or idl compiler, shared libraries
libsnacc-dev
asn.1 to c or c++ or idl compiler, development files
snacc
asn.1 to c or c++ or idl compiler
snacc-doc
asn.1 to c or c++ or idl compiler, documentation