Index: distalign/Makefile =================================================================== --- distalign/Makefile (revision 18465) +++ distalign/Makefile (revision 18466) @@ -71,17 +71,8 @@ align-examples.html : $(PREREQS) ./gen_html.sh ./gen_html.sh $(PREREQS) > align-examples.html -$(PREREQS) : - printf "%s\n" "Building Image Files" - cp Align-Original.png.master alignpix/Align-Original.png - for name in $(PREREQS) ; do \ - fname=`printf "%s" $$name | tr "[]" "()"` ;\ - bname=`basename -s .png $$fname` ;\ - sed s/ALIGN-TEST/$$bname/ align.lht > temp.lht ;\ - printf "%s\n" "LoadFrom(layout,temp.lht) Cursor(Warp,50,-50,board) Select(All) "$$bname" Export(png, --outfile, '$$name', --photo-mode, --dpi, 300) Quit" | pcb-rnd -c rc/quiet=1 --gui batch ;\ - printf "%s" "." # Something happening feedback for user ;\ - done ;\ - rm -f temp.lht ; +$(PREREQS) : gen_pngs.sh + ./gen_pngs.sh $(PREREQS) clean: @ALIGNHTML=align-examples.html ; Index: distalign/gen_pngs.sh =================================================================== --- distalign/gen_pngs.sh (nonexistent) +++ distalign/gen_pngs.sh (revision 18466) @@ -0,0 +1,12 @@ +#!/bin/sh + +printf "%s\n" "Building Image Files" +cp Align-Original.png.master alignpix/Align-Original.png +for name in "$@" ; do \ + fname=`printf "%s" $name | tr "[]" "()"` + bname=`basename -s .png $fname` + sed s/ALIGN-TEST/$bname/ align.lht > temp.lht + printf "%s\n" "LoadFrom(layout,temp.lht) Cursor(Warp,50,-50,board) Select(All) "$bname" Export(png, --outfile, '$name', --photo-mode, --dpi, 300) Quit" | pcb-rnd -c rc/quiet=1 --gui batch + printf "%s" "." # Something happening feedback for user +done +rm -f temp.lht Property changes on: distalign/gen_pngs.sh ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property