mirror of
git://projects.qi-hardware.com/ben-scans.git
synced 2024-11-22 15:40:17 +02:00
a339d67968
have the brower interpret it as HTML when browsing the repository through the Web interface: generate a test.html by default, with local paths, and generate the real index.html, with remote URLs, when uploading. - web/style.sh: only set BASE if not set already in the environment - web/Makefile: added test.html target and made it the default - web/index.sh: ben-dispbase-back-100um is running now, switch to "in progress" - web/index.sh: switched 100 um ben-bottom-nobat scan from "under consideration" to "planned". In fact, it's the next in line.
18 lines
373 B
Makefile
18 lines
373 B
Makefile
.PHONY: all upload
|
|
|
|
all: ../test.html
|
|
|
|
#
|
|
# remove once a better place for index.html has been found
|
|
#
|
|
|
|
upload: ../index.html
|
|
rsync -v --progress $< \
|
|
werner@host:/home/httpd/almesberger/misc/ben/scan/
|
|
|
|
../index.html: style.sh index.sh
|
|
. ./index.sh >$@ || { rm -f $@; exit 1; }
|
|
|
|
../test.html: style.sh index.sh
|
|
BASE=./ . ./index.sh >$@ || { rm -f $@; exit 1; }
|