3 # Copyright (C) 2004 Helge Hess.
6 # Author: Helge Hess <helge.hess@opengroupware.org>
9 # This file is part of libFoundation.
11 # Permission to use, copy, modify, and distribute this software and its
12 # documentation for any purpose and without fee is hereby granted, provided
13 # that the above copyright notice appear in all copies and that both that
14 # copyright notice and this permission notice appear in supporting
17 # We disclaim all warranties with regard to this software, including all
18 # implied warranties of merchantability and fitness, in no event shall
19 # we be liable for any special, indirect or consequential damages or any
20 # damages whatsoever resulting from loss of use, data or profits, whether in
21 # an action of contract, negligence or other tortious action, arising out of
22 # or in connection with the use or performance of this software.
25 # FHS support (this is a hack and is going to be done by gstep-make!)
27 ifneq ($(FHS_INSTALL_ROOT),)
29 FHS_BIN_DIR=$(FHS_INSTALL_ROOT)/bin/
32 $(MKDIRS) $(FHS_BIN_DIR)
34 NONFHS_BINDIR="$(GNUSTEP_TOOLS)/$(GNUSTEP_TARGET_LDIR)"
36 move-tools-to-fhs :: fhs-bin-dirs
37 @echo "moving tools from $(NONFHS_BINDIR) to $(FHS_BIN_DIR) .."
38 for i in $(TOOL_NAME); do \
39 mv "$(NONFHS_BINDIR)/$${i}" $(FHS_BIN_DIR); \
42 move-to-fhs :: move-tools-to-fhs
44 after-install :: move-to-fhs