On Mon, Jul 14, 2014 at 04:06:16AM +0000, T o n g wrote: > >>> dh_install(1) is a program, not a target. > >>> > >>>> install -m 755 ddclient \ $(DESTDIR)/usr/sbin/ddclient > >>>> > >>>> install -D -m 755 debian/ddclient.NetworkManager \ > >>>> $(DESTDIR)/etc/NetworkManager/dispatcher.d/50-ddclient > >>> Writing proper *.install would be enough. > >> > >> Please point me to where I can do further reading on this (exact url > >> appreciated), because I've spent a lot of time find it myself but > >> haven't found how to do it yet. Or -- an example is better than a > >> thousand words. > >> > > https://www.debian.org/doc/manuals/maint-guide/dother.en.html#install > > On reviewing it, I think it won't solve my problem, because as said > before, I saw in the log, > > ... > dh_installdirs > debian/rules override_dh_auto_install > make[1]: Entering directory '/export/build/pkg/ddclient/bld/ > ddclient-3.8.2' > install -m 755 ddclient \ > /usr/sbin/ddclient > install -D -m 755 debian/ddclient.NetworkManager \ > /etc/NetworkManager/dispatcher.d/50-ddclient > dh_auto_install > make[1]: Leaving directory '/export/build/pkg/ddclient/bld/ddclient-3.8.2' > dh_installdocs > ... > > I.e., the problem is that DESTDIR is empty. so $(DESTDIR)/usr/sbin/ > ddclient becomes /usr/sbin/ddclient. Having a install file won't fix this > problem I am afraid. You don't need to pass the package directory, as $(DESTDIR) or in any other form, when you use dh_install.
-- WBR, wRAR -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: https://lists.debian.org/[email protected]

