]> err.no Git - sope/blob - sope-ical/samples/fhs.make
added synthesis XML sample
[sope] / sope-ical / samples / 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_INCLUDE_DIR=$(FHS_INSTALL_ROOT)/include/
8 FHS_LIB_DIR=$(FHS_INSTALL_ROOT)/lib/
9 FHS_BIN_DIR=$(FHS_INSTALL_ROOT)/bin/
10
11 fhs-bin-dirs ::
12         $(MKDIRS) $(FHS_BIN_DIR)
13
14 NONFHS_BINDIR="$(GNUSTEP_TOOLS)/$(GNUSTEP_TARGET_LDIR)"
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