I followed a tutorial to make a package application, but it only deals with the source; there's absolutely no other file types mentioned.
How do I include data files so that I can access them from my application in a package? For example, in the makefile, there's a $(DESTDIR) option, but I would never move the data files in $(DESTDIR)/usr/bin — at least I think I'm not supposed to!
Best Answer
If you are including binary data (pictures) you will want to create a version 3.0 package.
You put the additional files inside the
debian/
directory and either move them from thedebian/rules
script usinginstall -D -m 644 debian/filename $(DESTDIR)/path/to/install/to
or using thedebian/install
file to list the file and the path to install it to likedebian/filename path/to/install/to
.