debian swirl logo

Back to the packages list xneur

#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk


DEB_CONFIGURE_EXTRA_FLAGS := 
DEB_DH_STRIP_ARGS := --dbg-package=xneur-dbg
DEB_DH_INSTALL_SOURCEDIR := debian/tmp

PRESERVE_UPSTREAM := po/stamp-po xnconfig.pc xneur.pc

pre-build::
		for i in $(PRESERVE_UPSTREAM); do\
			test -f $$i.upstream || cp $$i $$i.upstream; \
		done

clean::
		for i in $(PRESERVE_UPSTREAM); do\
			test ! -f $$i.upstream || mv -f $$i.upstream $$i; \
		done

binary-install/xneur::
		sed -f debian/xneurrc.sed -i debian/xneur/etc/xneur/xneurrc

binary-install/libxneur-dev::
		sed -i "/dependency_libs/ s/'.*'/''/" `find . -name '*.la'`

Builds:

libxneur-dev
development files for xneur frontends and plugins.
libxneur
xneur library
xneur-dbg
xneur debugging symbols
xneur
in-place conversion of text typed in with a wrong keyboard layout