Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Saturday, October 17, 2026

Diff for platos/_templates/Rules.make between version 1.29 and 1.30

version 1.29, 2005/07/06 22:34:25 version 1.30, 2005/07/07 15:32:45
Line 7 
Line 7 
 # Licensed under terms of GNU General Public License.  # Licensed under terms of GNU General Public License.
 # All rights reserved.  # All rights reserved.
 #  #
 # $Platon: platos/_templates/Rules.make,v 1.28 2005/07/06 22:23:23 rajo Exp $  # $Platon: platos/_templates/Rules.make,v 1.29 2005/07/06 22:34:25 rajo Exp $
 #  #
   
 ps__OUTPUT        = $(shell sed 's/\#.*$$//g;' ps__OUTPUT 2>/dev/null)  ps__OUTPUT        = $(shell sed 's/\#.*$$//g;' ps__OUTPUT 2>/dev/null)
Line 555  clean-graphs:
Line 555  clean-graphs:
 # }}}  # }}}
   
 # Distribution {{{  # Distribution {{{
   
   ifneq ($(strip $(SUBDIRS)),)
   
   subdir-copy-distfile = $(sort $(patsubst %,_subdir_copy_distfile_%,$(SUBDIRS)))
   
   export DISTFILE_DEST
   $(subdir-copy-distfile) : dummy
           @if [ -d "$(patsubst _subdir_copy_distfile_%,%,$@)" ]; then \
                   echo -en "Copying distfile from directory '$(patsubst _subdir_copy_distfile_%,%,$@)'"; echo; \
                   $(MAKE) -C $(patsubst _subdir_copy_distfile_%,%,$@) copy-distfile; \
                   echo -en "Copying distfile from directory '$(patsubst _subdir_copy_distfile_%,%,$@)' done."; echo; \
           else \
                   echo -en "Skipping nonexistent directory '$(patsubst _subdir_copy_distfile_%,%,$@)'"; echo; \
           fi
   
   endif
   
   
 ifneq ($(strip $(DISTFILES)),)  ifneq ($(strip $(DISTFILES)),)
   
 $(distdir).tar.gz: dist  $(distdir).tar.gz: dist
Line 586  distdir: $(DISTFILES)
Line 604  distdir: $(DISTFILES)
           fi; \            fi; \
         done          done
   
   ifneq ($(strip $(SUBDIRS)),)
   copy-distfile: subdir-copy-distfile $(distdir).tar.gz
   endif
 copy-distfile: $(distdir).tar.gz  copy-distfile: $(distdir).tar.gz
         @if [ ! -z "$$DISTFILE_DEST" ]; then \          @if [ ! -z "$$DISTFILE_DEST" ]; then \
                 ln $(distdir).tar.gz "$$DISTFILE_DEST" \                  ln $(distdir).tar.gz "$$DISTFILE_DEST" \
Line 593  copy-distfile: $(distdir).tar.gz
Line 614  copy-distfile: $(distdir).tar.gz
         else \          else \
                 echo '$$DISTFILE_DEST is not set, ignoring target $@'; \                  echo '$$DISTFILE_DEST is not set, ignoring target $@'; \
         fi          fi
   
   else # ifneq ($(strip $(DISTFILES)),)
   
   $(distdir).tar.gz:
   dist:
   distdir:
   ifneq ($(strip $(SUBDIRS)),)
   copy-distfile: dummy $(subdir-copy-distfile)
   else
   copy-distfile:
   endif
   
 endif  endif
   
 # }}}  # }}}
   
 # vim: ts=4 isk+=- ft=make  # vim: ts=4 isk+=- ft=make

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top