-
-ifeq ($(CHECK_FBCLIENT),yes)
- # Install firebird db
- mkdir -p $(PREFIX)/var/stargazer
- chown $(OWNER):$(FIREBIRD_GROUP) $(PREFIX)/var/stargazer
- chmod g+rw $(PREFIX)/var/stargazer
- echo "connect '$(DB_ADDRESS)' user '$(DB_USER)' password '$(DB_PASSWORD)';" > .db.sql
- echo "drop database;" >> .db.sql
- echo "create database '$(DB_ADDRESS)' user '$(DB_USER)' password '$(DB_PASSWORD)' default character set win1251;" >> .db.sql
- cat $(VAR_DIR)/../00-base-00.sql >> .db.sql
- $(FIREBIRD_ISQL) -i .db.sql
- rm -f .db.sql
-endif