Guido Draheim wrote:
The patch puts in a `make install-destdir` target which does
also handle the usual DESTDIR variable for the staging area.
I would rather replace the ill-defined "install" target
with your sane definition.
Btw, when not downloading the dvb-ttpci firmware, there is a
*.txt file being put into the modules area which makes depmod
unhappy but it seems to get over with it. Can that be cut out
from the original `install`? Anyway, at the moment, the rpm
_includes_ the firmware - is that correct measure?
You have permission to include the dvb-ttpci-01.fw firmware.
The various frontend firmwares are problematic.
--- build-2.4/Makefile.orig 2004-01-26 11:47:03.000000000 +0100
+++ build-2.4/Makefile 2004-02-13 21:21:31.000000000 +0100
@@ -87,6 +87,8 @@
@echo
@echo --------------------------------------------------------------------------------------
-su -c "mkdir -p $(DEST); cp -v $(obj-m) $(DEST); depmod -a ; sh ../MAKEDEV-DVB.sh"
+install-destdir :
+ mkdir -p $(DESTDIR)$(DEST); cp -v $(obj-m) $(DESTDIR)$(DEST)
clean::
find . -type l -exec rm {} \;
Modified patch applied.
BTW, build-2.6 "install" could need a patch, too.