Daniel-Constantin Mierla writes:
Anyhow, it guess you try to build deb packages. In this case the rules are from the debian specs, not from kamailio Makefiles, and they were not updated, hopefully Victor Seva (or someone else with deb packaging experience) will get the time to work on them very soon.
If I comment out in pkg/kamailio/deb/jessie/rules:
clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. $(MAKE) maintainer-clean dh_clean
'$(MAKE) maintainer-clean' line, the loop does not occur.
-- Juha