-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start using automake/autoconf for configuring, building, and installi…
…ng Evergreen git-svn-id: svn://svn.open-ils.org/ILS/trunk@10466 dcc99617-32d9-48b4-a31d-7c20da2025e4
- Loading branch information
dbs
committed
Aug 27, 2008
1 parent
b95b15f
commit c971464
Showing
41 changed files
with
1,348 additions
and
1,051 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#AUTHORS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#ChangeLog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
#-------------------------------------------------------------------- | ||
# Makefile.am for Evergreen | ||
# Author: Kevin Beswick ([email protected]) | ||
## Process this file with automake to generate Makefile.in | ||
#------------------------------------------------------------------- | ||
|
||
NEW_OPAC_URL=myopac.domain | ||
NEW_XUL_PACKAGE_NAME=openils | ||
NEW_XUL_PACKAGE_LABEL=OpenILS | ||
|
||
if BUILDEGCORE | ||
EGCORE_INST = circ-install iplist-install perl-install web-install | ||
endif | ||
|
||
if BUILDEGXULCLIENT | ||
EGXUL_INST = xul | ||
endif | ||
|
||
install-data-hook: $(EGCORE_INST) $(EGXUL_INST) | ||
|
||
xul: | ||
@echo $@ | ||
cp -R staff_client local_staff_client | ||
find local_staff_client/ -type f -exec sed -i s/evergreen/${NEW_XUL_PACKAGE_NAME}/g {} \; | ||
find local_staff_client/ -type f -exec sed -i s/Evergreen/${NEW_XUL_PACKAGE_LABEL}/g {} \; | ||
(cd local_staff_client/chrome/skin/evergreen; mv evergreen.css ${NEW_XUL_PACKAGE_NAME}.css) | ||
(cd local_staff_client/defaults/preferences; mv evergreen.js ${NEW_XUL_PACKAGE_NAME}.js) | ||
(cd local_staff_client/chrome/content; mv evergreen ${NEW_XUL_PACKAGE_NAME}) | ||
(cd local_staff_client/chrome/locale/en-US/; mv evergreen ${NEW_XUL_PACKAGE_NAME}) | ||
(cd local_staff_client/chrome/skin; mv evergreen ${NEW_XUL_PACKAGE_NAME}) | ||
make -C local_staff_client build | ||
find local_staff_client/ -type f -exec sed -i s/gapines.org/${NEW_OPAC_URL}/g {} \; | ||
make -C local_staff_client package | ||
|
||
perl-install: | ||
@echo $@ | ||
mkdir -p $(PERLDIR) | ||
cp -r src/perlmods/* $(PERLDIR) | ||
|
||
circ-install: | ||
@echo $@ | ||
mkdir -p $(CIRCRULESDIR) | ||
cp src/javascript/backend/circ/*.js $(CIRCRULESDIR) | ||
|
||
iplist-install: | ||
@echo $@ | ||
mkdir -p $(ETCDIR) | ||
cp conf/lib_ips.txt $(ETCDIR) | ||
|
||
web-install: | ||
@echo $@ | ||
cp web/opac/images/* $(WEBDIR)/opac/images/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
#---------------------------------------------------------- | ||
# Makefile.am for openils | ||
# Author: Kevin Beswick ([email protected]) | ||
## Process this file with automake to generate Makefile.in | ||
#---------------------------------------------------------- | ||
|
||
# Set some variables | ||
|
||
export PREFIX=@prefix@ | ||
export BINDIR=@bindir@ | ||
export LIBDIR=@libdir@ | ||
export perldir=$(LIBDIR)/perl5 | ||
export INCLUDEDIR=@includedir@ | ||
export ETCDIR=@sysconfdir@ | ||
export WEBDIR=@localstatedir@/web | ||
export CGIDIR=@localstatedir@/cgi-bin | ||
export TEMPLATEDIR=@localstatedir@/templates | ||
|
||
export datadir=@localstatedir@/data | ||
export circrulesdir=@localstatedir@/circ | ||
export catalogscriptdir=@localstatedir@/catalog | ||
export penaltyrulesdir=@localstatedir@/penalty | ||
export XSLDIR=@localstatedir@/xsl | ||
export REPORTERDIR=@localstatedir@/reporter | ||
export ADMINDIR=@localstatedir@/admin | ||
export SOCK=@localstatedir@/lock | ||
export PID=@localstatedir@/run | ||
export LOG=@localstatedir@/log | ||
|
||
|
||
|
||
# Derived from autoconf: | ||
export TMP = @TMP@ | ||
export APXS2 = @APXS2@ | ||
export APACHE2_HEADERS = @APACHE2_HEADERS@ | ||
export APR_HEADERS = @APR_HEADERS@ | ||
export LIBXML2_HEADERS = @LIBXML2_HEADERS@ | ||
export DBI_LIBS = @DBI_LIBS@ | ||
export OPENSRF_HEADERS = @OPENSRF_HEADERS@ | ||
export OPENSRF_LIBS = @OPENSRF_LIBS@ | ||
#export DBDRVR = @DBDRVR@ | ||
#export DBHOST = @DBHOST@ | ||
#export DBPORT = @DBPORT@ | ||
#export DBNAME = @DBNAME@ | ||
#export DBUSER = @DBUSER@ | ||
#export DBPW = @DBPW@ | ||
#export DBVER = @DBVER@ | ||
|
||
SUBDIRS = Open-ILS/src | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#NEWS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.