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

Removing .pl extension in files from a package using debhelper and CDBS.



Dear mentors,

I am preparing a very simple pacakge (mage2tab) that uses CDBS and
debhelper:

anx159《mage2tab》$ cat trunk/debian/rules 
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk

I would like to keep this file as simple as possible, but the programs
in the pacakge are perl scripts whose name finishe in .pl, so I have to
rename them at some point. My problem is that apparently,
configure/mage2tab:: or install/mage2tab:: are too early rules if I want
to rename after using dh_install: they are not in
$(CURDIR)/debian/mage2tab/usr/bin yet.

Is there a simple and elegant way to do file renaming with CDBS ?

Have a nice day,

-- 
Charles Plessy
http://charles.plessy.org
Wakō, Saitama, Japan


Reply to: