ALLIANCE_EXAMPLE correctly set for Ubuntu.

This commit is contained in:
Jean-Paul Chaput 2012-05-07 22:24:17 +00:00
parent 913c0b0ed0
commit e4459e26c7
1 changed files with 5 additions and 1 deletions

View File

@ -12,7 +12,11 @@ ifeq ($(ALLIANCE_TOP),/usr/lib/alliance)
ALLIANCE_BIN = /usr/bin
SYSCONF_TOP = /etc/alliance
CELLS_TOP = /usr/share/alliance/cells
ALLIANCE_EXAMPLES = /usr/share/doc/alliance-doc-5.0/alliance-examples
ifeq ($(findstring Ubuntu,$(shell uname -v)),Ubuntu)
ALLIANCE_EXAMPLES = /usr/share/alliance/examples/alliance-examples
else
ALLIANCE_EXAMPLES = /usr/share/doc/alliance-doc-5.0/alliance-examples
endif
else
# Most likely hand-made installation (from .tar.gz by autotools).
#ALLIANCE_TOP = $(HOME)/alliance/Linux.slsoc6x/install