Matthew Jones wrote:
> 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.

    There was a MOTU School session about precisely this sort of
packaging, with a page on the wiki:

https://wiki.ubuntu.com/MOTU/School/PackagingWithoutCompiling

> 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

    The referenced page assumes only copy operations.  If you need to
link, the easiest way to extend the described method is to use
dh_link.  No modification is required to debian/rules, but you'll need
to create a debian/package.links file that indicates what links to
create (man dh_link for details).

-- 
Emmet HIKORY

-- 
Ubuntu-motu mailing list
Ubuntu-motu@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu

Reply via email to