Files
harbour-core/harbour/config/linux/install.cf
Viktor Szakats 93eda33469 2009-02-17 01:39 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* config/linux/install.cf
    ! Added hack to ignore copy errors.
      This probably isn't the ultimate solution, but since a few
      weeks Harbour cannot be installed in the same dirs where
      sources are located, since it fails with
      cp: `file' and `/harbour/include/file' are the same file
      which causes that no binaries will be installed either.
2009-02-17 00:39:43 +00:00

23 lines
445 B
CFEngine3

#
# $Id$
#
INSTALL_RULE =\
@if [ -z $(INSTALL_DIR) ] || [ ! -d $(INSTALL_DIR) ]; \
then \
echo "! Can't install, path not found: '$(INSTALL_DIR)'" 1>&2; \
false; \
else \
for i in $(INSTALL_OBJS); \
do \
if [ -r $$i ]; \
then \
echo "! Installing $$i on $(INSTALL_DIR)"; \
$(CP) $$i $(INSTALL_DIR); \
true; \
else \
echo "! Can't install $$i, not found" 1>&2; \
fi \
done \
fi