For example, if I am creating a binary .deb or .rpm, I can compile
everything I want so that it expects to run in '/usr' (prefix), but dump
the files in '/home/vnayar/myproject/rpm' (DESTDIR).

After I run my command, I'll have stuff like:
  /home/vnayar/myproject/rpm/
    + usr/bin/mybin
    + usr/share/mydata
    + usr/lib/libmine.so

And after I wrap all that up in a .deb package, and someone else installs
it, they will have binaries ready to go in /usr/bin, etc.

How would you configure it to create a dmd like package that can be extracted anywhere?

Reply via email to