3 # FHS support (this is a hack and is going to be done by gstep-make!)
5 ifneq ($(FHS_INSTALL_ROOT),)
7 FHS_LIB_DIR=$(FHS_INSTALL_ROOT)/lib/
8 FHS_DB_DIR=$(FHS_LIB_DIR)sope-$(SOPE_MAJOR_VERSION).$(SOPE_MINOR_VERSION)/dbadaptors/
11 $(MKDIRS) $(FHS_DB_DIR)
13 move-bundles-to-fhs :: fhs-db-dirs
14 @echo "moving bundles $(BUNDLE_INSTALL_DIR) to $(FHS_DB_DIR) .."
15 for i in $(BUNDLE_NAME); do \
16 j="$(FHS_DB_DIR)/$${i}$(BUNDLE_EXTENSION)"; \
17 if test -d $$j; then rm -r $$j; fi; \
18 mv "$(BUNDLE_INSTALL_DIR)/$${i}$(BUNDLE_EXTENSION)" $$j; \
21 move-to-fhs :: move-bundles-to-fhs
23 after-install :: move-to-fhs