[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, Jul 12, 2014 at 03:51:24AM +0000, T o n g wrote:
> Hi, 
> 
> I used the `dh_make` to create a new rules file, but found that what I 
> want to install are not in the final package. 
> 
> Here is what the old rules file looks like:
> 
> install: build
> 	dh_testdir
> 	dh_testroot
> 	dh_clean -k
> 	dh_installdirs
> 
> 	install -m 755 ddclient \
> 	  $(DESTDIR)/usr/sbin/ddclient
> 
> 	install -D -m 755 debian/ddclient.NetworkManager \
> 	  $(DESTDIR)/etc/NetworkManager/dispatcher.d/50-ddclient
Note that you can achieve the same using dh_install(1) and probably
dh_installdirs(1), without writing override code.

-- 
WBR, wRAR

Attachment: signature.asc
Description: Digital signature


Reply to: