[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:14:23 +0000, T o n g wrote:

>>> # main packaging script based on dh7 syntax %:
>>> 	dh $@
>>>
>>> override_dh_auto_install:
>>> 	install -m 755 ddclient \
>>> 	  $(DESTDIR)/usr/sbin/ddclient
>>>
>>> 	install -D -m 755 debian/ddclient.NetworkManager \
>>> 	  $(DESTDIR)/etc/NetworkManager/dispatcher.d/50-ddclient
>> 
>> You need to add dh_auto_install to the set of commands to execute in
>> this target.
> 
> Oh, I though "override_dh_auto_install" is the way to add
> dh_auto_install to the set of commands, No?

Oh, did you mean this:

override_dh_auto_install:
	install -m 755 ddclient \
	  $(DESTDIR)/usr/sbin/ddclient

	install -D -m 755 debian/ddclient.NetworkManager \
	  $(DESTDIR)/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. 



Reply to: