Date:2010-08-31 06:46:18 (9 years 20 days ago)
Author:Werner Almesberger
Commit:80c6f3e75f1c956737a6a97d11fc069881967dde
Message:Fix two bugs left from the great reorganization.

- Makefile (UPLOAD): updated for new directory structure
- scripts/schhist2web: unchanged Postscript files were not replaced with
symlinks because the symlink paths were wrong
Files: scripts/Makefile (4 diffs)
scripts/schhist2web (1 diff)

Change Details

scripts/Makefile
11SHELL = /bin/bash
22
3UPLOAD = {index.html,unchanged.png,thumb_*,diff_*,pdf_*,html_*}
3CACHE_DIRS = {ppm0,ppm1,ppm2,ps}
44DEST = werner@host:/home/httpd/almesberger/misc/ben/
5RSYNC = rsync -a --progress
5RSYNC = eval rsync -a --progress "--exclude "$(CACHE_DIRS)/
66
77.PHONY: all ben-wpan-schhist ben-wpan-schhist-upload
88.PHONY: xue-schhist xue-schhist-upload
...... 
2424      ./schhist2web atrf/wpan-atrf.sch
2525
2626ben-wpan-schhist-upload:
27     $(RSYNC) _out/$(UPLOAD) $(DEST)/demo/
27     $(RSYNC) _out/* $(DEST)/demo/
2828
2929xue-schhist:
3030    SCHHIST_TITLE=Xue \
...... 
3333      ./schhist2web -S ../../xue kicad/xue-rnc/xue-rnc.sch _xue
3434
3535xue-schhist-upload:
36     $(RSYNC) _xue/$(UPLOAD) $(DEST)/demo2/
36     $(RSYNC) _xue/* $(DEST)/demo2/
3737
3838cntr-schhist:
3939    SCHHIST_TITLE=ben-wpan/cntr \
...... 
4242      ./schhist2web cntr/cntr.sch _cntr
4343
4444cntr-schhist-upload:
45    $(RSYNC) _cntr/$(UPLOAD) $(DEST)/demo3/
45    $(RSYNC) _cntr/* $(DEST)/demo3/
scripts/schhist2web
250250            symlink "../../$head/$d/${m##*/}" "$cache/$n/$d/${m##*/}"
251251        done
252252        m_ps=${m%.ppm}.ps
253        symlink "../../$head/$d/${m_ps##*/}" "$cache/$n/$d/${m_ps##*/}"
253        symlink "../../$head/ps/${m_ps##*/}" "$cache/$n/ps/${m_ps##*/}"
254254        fi
255255    fi
256256    touch "$out/names/`basename \"$m\" .ppm`"

Archive Download the corresponding diff file



interactive