]> err.no Git - sope/blob - xmlrpc_call/fhs.make
fixed gstep-base warnings
[sope] / xmlrpc_call / fhs.make
1 # postprocessing
2
3 # FHS support (this is a hack and is going to be done by gstep-make!)
4
5 ifneq ($(FHS_INSTALL_ROOT),)
6
7 FHS_BIN_DIR=$(FHS_INSTALL_ROOT)/bin/
8
9 NONFHS_BINDIR="$(GNUSTEP_TOOLS)/$(GNUSTEP_TARGET_LDIR)"
10
11
12 fhs-bin-dirs ::
13         $(MKDIRS) $(FHS_BIN_DIR)
14
15
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); \
20         done
21
22 move-to-fhs :: move-tools-to-fhs
23
24 after-install :: move-to-fhs
25
26 endif