Daniel Dehennin <[email protected]> writes:
[...]
> Here is my debian/rules:
>
> #v+
> #!/usr/bin/make -f
>
> # Uncomment this to turn on verbose mode.
> #export DH_VERBOSE=1
>
> include /usr/share/cdbs/1/rules/debhelper.mk
>
> #DEB_PYTHON_SYSTEM=pycentral
> DEB_PYTHON_SYSTEM=pysupport
> include /usr/share/cdbs/1/class/python-distutils.mk
>
> # Add here any variable or target overrides you need.
> #v-
Just modifying the debian/rules to not use CDBS makes it working[1]:
#v+
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
configure: configure-stamp
configure-stamp:
dh_testdir
# Add here commands to configure the package.
touch configure-stamp
build: build-stamp
build-stamp: configure-stamp
dh_testdir
# Add here commands to compile the package.
# cd zephir/monitor/agentmanager/templates && make -f ./Makefile
#docbook-to-man debian/era.sgml > era.1
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
#-$(MAKE) clean
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/conf-amon
$(MAKE) install DESTDIR=$(CURDIR)/debian
python setup.py install --no-compile --root
debian/eole-smartmontools/ --install-layout=deb
# Build architecture-independent files here.
binary-indep: build install
# My module in /usr/lib/python2.6/dist-packages/zephir/monitor/agents/
DH_PYCENTRAL=include-links dh_pycentral
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
dh_installdirs
dh_installdocs
dh_install
dh_strip
dh_compress
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure
#v-
Regards.
Footnotes:
[1] with a near empty Makefile at top level of my package
--
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1
pgpxxM4DsQ48B.pgp
Description: PGP signature

