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

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



On Sun, Jul 13, 2014 at 01:37:52PM +0000, T o n g wrote:
> > Note that you can achieve the same using dh_install(1) and probably
> > dh_installdirs(1), without writing override code.
> 
> Did you mean this in debian/rules?
> 
> ---------------------------
> # main packaging script based on dh7 syntax
> %:
> 	dh $@ 
> 
> dh_install:
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.

-- 
WBR, wRAR

Attachment: signature.asc
Description: Digital signature


Reply to: