debian swirl logo

Back to the packages list libiec61883

#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
#If you use autotools.mk, be sure to include
# dpatch.mk after  autotools.mk.
#include /usr/share/cdbs/1/rules/dpatch.mk
#
# where dh_install find files
# no need hardcoding sourcedir
DEB_DH_INSTALL_SOURCEDIR := debian/tmp
#
# warning if files builded but not installeds
#DEB_DH_INSTALL_ARGS += --list-missing
#
# plug the current upstream version into dependency
DEB_DH_MAKESHLIBS_ARGS_libiec61883-0 += --version-info
#
# disable strict aliasing since the compiler warns about it
#
DEB_OPT_FLAG := -O2 -fno-strict-aliasing
#
install/libiec61883-dev:: doc

doc: manpages

manpages: debian/plugctl.1 debian/plugreport.1

DB2MAN := /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
XP := xsltproc -''-nonet
debian/plugreport.1: debian/plugreport.xml
		cd debian/ && $(XP) $(DB2MAN) plugreport.xml

debian/plugctl.1: debian/plugctl.xml
		cd debian/ && $(XP) $(DB2MAN) plugctl.xml

.PHONY: manpages doc

Builds:

libiec61883-0
an partial implementation of iec 61883
libiec61883-dev
an partial implementation of iec 61883