[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Defining data files to install

From: Julie Marchant
Subject: Defining data files to install
Date: Thu, 26 Jan 2017 16:22:49 -0500


I'm a little confused about how to set up Autoconf to install data files
for the program to use later, and I wondered if someone can clear up my

For reference, the pertinent program is Project: Starfighter:

Starfighter has a few different directories with required data files:
"data", "gfx", "music", and "sound". All files in these directories need
to be installed to a location that gets defined as DATADIR. From what I
understand so far, the directory I want to use is the one stored in the
pkgdatadir variable, and I include files to install there by assigning
them in a to pkgdata_DATA. But listing the files out from a in the same directory doesn't copy the directory structure,
and if I indicate a directory from the top-level, "make
install" just ignores (or rather, "omits") it and then spits out an
error with no accompanying information.

What am I missing here? How can I install these data files not into the
top-level pkgdatadir, but in the respective appropriate sub-directories
of pkgdatadir (e.g. "$(pkgdatadir)/data" and "$(pkgdatadir)/music")? I
can't find any documentation on how to do this anywhere.

Julie Marchant

Protect your emails with GnuPG:

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]