[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Please help translate old rules file on the installation rules



On Sat, 12 Jul 2014 13:23:16 +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? 

Thanks


Reply to: