1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-07-01 03:02:56 +03:00
- schhist/Makefile (DEST): changed upload location from www.almesberger.net
  to downloads.qi-hardware.com
- schhist/Makefile (atusb-schhist-upload, xue-schhist-upload,
  cntr-schhist-upload, atusd-schhist-upload): changed directory name from
  demo* to the KiCad project name
- schhist/Makefile (update): pull the latest Xue, then regenerate and upload
  all schematics (atusb, xue, cntr, and atusd)
- schhist/demo-index.html: index page for schematics histories demos
- schhist/Makefile (upload-index): upload the demo index.html
- schhist/Makefile (PHONY): removed the obsolete ben-wpan-* entries and
  replaced them with atusb-*
This commit is contained in:
Werner Almesberger 2010-09-22 10:40:26 -03:00
parent 4780b8b33b
commit bd26493b98
2 changed files with 29 additions and 6 deletions

View File

@ -1,10 +1,11 @@
SHELL = /bin/bash
CACHE_DIRS = {ppm0,ppm1,ppm2,ps}
DEST = werner@host:/home/httpd/almesberger/misc/ben/
DEST = www-data@downloads.qi-hardware.com:werner/schhist
RSYNC = eval rsync -a --progress "--exclude "$(CACHE_DIRS)/
.PHONY: all ben-wpan-schhist ben-wpan-schhist-upload
.PHONY: all update upload-index
.PHONY: atusb-schhist atusb-schhist-upload
.PHONY: xue-schhist xue-schhist-upload
.PHONY: cntr-schhist cntr-schhist-upload
.PHONY: atusd-schhist atusd-schhist-upload
@ -19,6 +20,16 @@ all:
@echo " atusd-schhist atusd-schhist-upload" 2>&1
@exit 1
update:
cd /home/nn/xue && git pull
$(MAKE) atusb-schhist atusb-schhist-upload
$(MAKE) xue-schhist xue-schhist-upload
$(MAKE) cntr-schhist cntr-schhist-upload
$(MAKE) atusd-schhist atusd-schhist-upload
upload-index:
scp demo-index.html $(DEST)/index.html
atusb-schhist:
SCHHIST_TITLE=ben-wpan/atrf \
SCHHIST_HOME_URL=http://projects.qi-hardware.com/index.php/p/ben-wpan/ \
@ -27,7 +38,7 @@ atusb-schhist:
./schhist2web ../../ben-wpan atrf/wpan-atrf.sch _atusb
atusb-schhist-upload:
$(RSYNC) _atusb/* $(DEST)/demo/
$(RSYNC) _atusb/* $(DEST)/atusb/
xue-schhist:
SCHHIST_TITLE=Xue \
@ -36,7 +47,7 @@ xue-schhist:
./schhist2web -S ../../xue kicad/xue-rnc/xue-rnc.sch _xue
xue-schhist-upload:
$(RSYNC) _xue/* $(DEST)/demo2/
$(RSYNC) _xue/* $(DEST)/xue/
cntr-schhist:
SCHHIST_TITLE=ben-wpan/cntr \
@ -45,7 +56,7 @@ cntr-schhist:
./schhist2web ../../ben-wpan cntr/cntr.sch _cntr
cntr-schhist-upload:
$(RSYNC) _cntr/* $(DEST)/demo3/
$(RSYNC) _cntr/* $(DEST)/cntr/
atusd-schhist:
SCHHIST_TITLE=ben-wpan/atusd
@ -54,4 +65,4 @@ atusd-schhist:
./schhist2web ../../ben-wpan atusd/atusd.sch _atusd
atusd-schhist-upload:
$(RSYNC) _atusd/* $(DEST)/demo4/
$(RSYNC) _atusd/* $(DEST)/atusd/

12
schhist/demo-index.html Normal file
View File

@ -0,0 +1,12 @@
<HTML>
<TITLE>
Schematics Histories
</TITLE>
<BODY>
<H1>Schematics Histories</H1>
<A href="atusb/">atusb (ben-wpan)</A><P>
<A href="xue/">Xue</A><P>
<A href="cntr/">cntr (ben-wpan)</A><P>
<A href="atusd/">atusd (ben-wpan)</A><P>
</BODY>
</HTML>