Results 1 to 2 of 2
I have some data files that should be distributed with my program. Using dist_pkgdata_DATA in Makefile.am, I get these files installed to /usr/local/data/share/package-name. The problem is that data is read-only, ...
- 05-09-2010 #1Just Joined!
- Join Date
- May 2010
- Posts
- 2
[SOLVED] data directory in automake
I have some data files that should be distributed with my program. Using dist_pkgdata_DATA in Makefile.am, I get these files installed to /usr/local/data/share/package-name. The problem is that data is read-only, and my program needs to modify it. Playing with dist_sharedstate_DATA, dist_localstate_DATA, dist-data_DATA varibles, I got different installation directories, like /usr/local/com, usr/local/var, but data is always read-only.
How can I distribute modifiable data files with my package? I need some common directory for all users, or maybe local data in a user directory.
- 05-09-2010 #2Just Joined!
- Join Date
- May 2010
- Posts
- 2
Solved by writing install-data-hook rule.


