Opened 16 years ago
Closed 15 years ago
#242 closed defect (fixed)
Test data files get installed in /usr/local/share
Reported by: | Jari Häkkinen | Owned by: | Jari Häkkinen |
---|---|---|---|
Priority: | major | Milestone: | yat 0.4 |
Component: | build | Version: | 0.3.1 |
Keywords: | Cc: |
Description (last modified by )
Related to ticket:278
Installing yat also installs test data. In /usr/local/share! Ugly! Either stop these from being installed or make sure that they install in /usr/local/share/yat or similar.
Change History (7)
comment:1 Changed 16 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 16 years ago by
There is no reason to install the data, so if possible data should not be installed. That is my vote.
comment:4 Changed 16 years ago by
I can't find a way not to install the data (without omitting it from dist). One way to have no installed data would be to add a install-data-hook that simply removes everything in /usr/local/share/yat. I think that is ugly, so I prefer to find another way.
comment:5 Changed 16 years ago by
Hm, found a tricky way. First, replace dist_yat_data_DATA
with something like test_data_for_dist
. This will exclude the data files from dist and consequently from the install as well. Second, add a install-dist-hook
that copies test_data_for_dist
to test/data/ in distribution directory.
The install-dist-hook is a tag that let us modify the distribution between dist dir is created and tar ball is wrapped up.
See section 14.3 here http://sources.redhat.com/automake/automake.html#Dist
comment:6 Changed 15 years ago by
Status: | new → assigned |
---|
comment:7 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in changeset:1218
ticket:278 was marked as related