3 # FHS support (this is a hack and is going to be done by gstep-make!)
5 ifneq ($(FHS_INSTALL_ROOT),)
7 FHS_INCLUDE_DIR=$(FHS_INSTALL_ROOT)/include/
8 FHS_LIB_DIR=$(FHS_INSTALL_ROOT)/lib/
9 FHS_BIN_DIR=$(FHS_INSTALL_ROOT)/bin/
12 $(MKDIRS) $(FHS_BIN_DIR)
14 NONFHS_BINDIR="$(GNUSTEP_TOOLS)/$(GNUSTEP_TARGET_LDIR)"
16 move-tools-to-fhs :: fhs-bin-dirs
17 @echo "moving tools from $(NONFHS_BINDIR) to $(FHS_BIN_DIR) .."
18 for i in $(TOOL_NAME); do \
19 mv "$(NONFHS_BINDIR)/$${i}" $(FHS_BIN_DIR); \
22 move-to-fhs :: move-tools-to-fhs
24 after-install :: move-to-fhs