could you just create GNU/kFreeBSD specific
debian/xulrunner-1.9.install.kfreebsd-i386 and
debian/xulrunner-1.9.install.kfreebsd-amd64 without line
"usr/lib/xulrunner-1.9/libjemalloc.so".

It would be more appreciable to have a way to avoid duplicating the
file, which means good chances to forget to change one or more of them.
Some preprocessor-like syntax in debhelper files would be helpful for
that... or maybe does that exist already ?

Unfortunately there is no such support in debhelper.
But is suffices to put in install target i.e.

  grep -v jemalloc debian/xulrunner-1.9.install > 
debian/xulrunner-1.9.install.kfreebsd-i386
  grep -v jemalloc debian/xulrunner-1.9.install > 
debian/xulrunner-1.9.install.kfreebsd-amd64

and in clean target

  rm -f debian/xulrunner-1.9.install.kfreebsd-*

This approach is already used in some packages.

Petr



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to