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_SAX_DIR=$(FHS_LIB_DIR)sope-$(MAJOR_VERSION).$(MINOR_VERSION)/saxdrivers/
11 $(MKDIRS) $(FHS_SAX_DIR)
13 move-bundles-to-fhs :: fhs-sax-dirs
14 @echo "moving bundles $(BUNDLE_INSTALL_DIR) to $(FHS_SAX_DIR) .."
15 for i in $(BUNDLE_NAME); do \
16 j="$(FHS_SAX_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