MninDLNA expects to find template file in the build directory. Anyway we don't need it, so just avoid generating init script. --- minidlna-1.3.3/Makefile.in.orig +++ minidlna-1.3.3/Makefile.in @@ -464,8 +464,7 @@ -lFLAC $(flacogglibs) $(vorbislibs) $(avahilibs) SUFFIXES = .tmpl . -GENERATED_FILES = \ - linux/minidlna.init.d.script +GENERATED_FILES = TEMPLATES = \ linux/minidlna.init.d.script.tmpl