Skip to content

Commit

Permalink
Put .pc and compiled data in /share/, not /lib/ (following Debian/aut…
Browse files Browse the repository at this point in the history
…otools standards)

pkgconfigdir=$(libdir)/pkgconfig → pkgconfigdir=$(prefix)/share/pkgconfig
AP_LIB → AP_SRC
apertium_XXXdir=$(prefix)/lib/apertium/$(BASENAME)/ → apertium_XXXdir=$(prefix)/share/apertium/$(BASENAME)/

put share/pkgconfig in PKG_CONFIG_PATH in autogen.sh
  • Loading branch information
unhammer committed Jun 9, 2014
1 parent ae772b6 commit 6e90e38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ $(PREFIX2).autolex.bin: $(BASENAME).$(PREFIX2).lrx
lrx-comp $(BASENAME).$(PREFIX2).lrx $@


$(PREFIX1).prob: $(AP_LIB1)/$(LANG1).prob
$(PREFIX1).prob: $(AP_SRC1)/$(LANG1).prob
cp $< $@

#$(PREFIX2).prob: $(AP_LIB2)/$(LANG2).prob
#$(PREFIX2).prob: $(AP_SRC2)/$(LANG2).prob

###############################################################################
## Translation modes
Expand Down
2 changes: 1 addition & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ PATH="${PATH}:/usr/local/bin"
export PATH
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${PREFIX}/lib"
export LD_LIBRARY_PATH
PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:${PREFIX}/lib/pkgconfig"
PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:${PREFIX}/share/pkgconfig:${PREFIX}/lib/pkgconfig"
export PKG_CONFIG_PATH
ACLOCAL_PATH="${ACLOCAL_PATH}:${PREFIX}/share/aclocal"
export ACLOCAL_PATH
Expand Down

0 comments on commit 6e90e38

Please sign in to comment.