Need help with package that just copies files

Matthew Jones mattjones at workhorsy.org
Tue Dec 15 01:06:33 GMT 2009


Howdy all,

I've been playing with ubuntu and fedora packaging for a bit, and have
basic packaging of c and python apps down. The problem is when I need a
package that just copies some files, I can't get it to work.

What I want to do is just copy the source tree to /usr/share/blah and
symlink a script to /usr/bin/blah. Like this:

cp -R . /usr/share/blah/
ln -s /usr/share/blah/bin/blah /usr/bin/blah

I have tried putting that in the rules file under build and install, a
separate make file, and a post script. But they all fail, run at package
time,or the source tree is not found.

Any help would be appreciated, as I have been head-butting this for a
few days.




More information about the Ubuntu-motu mailing list