giellalt / giella-core

Build tools and build support files as well as developer support tools for the GiellaLT repositories.
https://giellalt.uit.no
GNU General Public License v3.0
7 stars 2 forks source link

Installing doesn't adjust generated paths #38

Closed TinoDidriksen closed 10 months ago

TinoDidriksen commented 10 months ago

make install needs to adjust paths in generated files, or builds wind up with these warnings: /usr/share/giella-core/scripts/make-hfstspeller-version-easter-egg.sh: line 21: /build/giella-core-0.20.3+g4190~09cf9c39-1~sid1/scripts/iso639-to-name.sh: No such file or directory

Or use the DIR=$( cd $(dirname $0) ; pwd) trick to always call other scripts relatively to itself - but I see https://github.com/giellalt/giella-core/commit/7e679ea095e9455229a0e32ad4f56275b2bee2ea is exactly what was done before, and somehow wasn't good enough?

flammie commented 10 months ago

current configure.ac seems to rely on env.var $GIELLA_CORE or $(pwd), what does build system should end up with thoug? I think we don't usually make install that stuff so normal rewritings don't apply.