On Sat, Jul 12, 2014 at 01:28:23PM +0000, T o n g wrote: > > override_dh_auto_install: > > install -m 755 ddclient \ > > $(DESTDIR)/usr/sbin/ddclient > > > > install -D -m 755 debian/ddclient.NetworkManager \ > > $( > )/etc/NetworkManager/dispatcher.d/50-ddclient > > dh_auto_install > > > > The command dh_auto_install is added to the end. But they are still not > > show up in the final package. > > 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 > ... > > Seems to me that DESTDIR is empty. Wouldn't dh_make/debuild set DESTDIR > at the beginning of the build? Neither dh_make (which, by the way, is not run during the build process at all), nor debuild set DESTDIR. DESTDIR is passed to make install when (and if) dh_auto_install invokes it. The old rules file sets it explicitly which is why the old code works. -- WBR, wRAR
Attachment:
signature.asc
Description: Digital signature