/[pdpsoft]/trunk/nl.nikhef.pdp.lrmsutils/Makefile
ViewVC logotype

Diff of /trunk/nl.nikhef.pdp.lrmsutils/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 126 by templon, Tue Mar 10 13:56:54 2009 UTC revision 168 by templon, Mon Mar 16 14:23:08 2009 UTC
# Line 412  config.sh: Makefile $(_test_dep) Line 412  config.sh: Makefile $(_test_dep)
412          @echo include $(CFG_MK) >>makefile.tmp          @echo include $(CFG_MK) >>makefile.tmp
413          @echo dumpvars: >>makefile.tmp          @echo dumpvars: >>makefile.tmp
414          @cat $(CFG_MK) paths.mk | \          @cat $(CFG_MK) paths.mk | \
415           perl >>makefile.tmp -e ' \           perl >>makefile.tmp -e 'my $$fmt = "\t\@echo \"-e \\\"s\@%s\@\$$(%s)g\\\" \\\\\"" ; while (<>) { $$v{$$1}=1 if /^([A-Za-z0-9_]+)\s*:?=.*$$/; } map { printf "$$fmt >>config.sh\n", $$_, $$_; } sort(keys(%v)); print "\n"; '
           my $$fmt = "\t\@echo \"-e \\\"s\@%s\@\$$(%s)g\\\" \\\\\"" ; \  
           while (<>) { $$v{$$1}=1 if /^([A-Za-z0-9_]+)\s*:?=.*$$/; } \  
           map { printf "$$fmt >>config.sh\n", $$_, $$_; } sort(keys(%v)); \  
           print "\n"; \  
          '  
416          @echo '#!/bin/sh' >config.sh          @echo '#!/bin/sh' >config.sh
417          @echo 'sed \' >>config.sh          @echo 'sed \' >>config.sh
418          @$(MAKE) -f makefile.tmp dumpvars >/dev/null          @$(MAKE) -f makefile.tmp dumpvars >/dev/null

Legend:
Removed from v.126  
changed lines
  Added in v.168

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28