move to php
This commit is contained in:
parent
bce965af78
commit
6fb94f8e9a
1 changed files with 0 additions and 32 deletions
32
Makefile
32
Makefile
|
@ -1,32 +0,0 @@
|
|||
|
||||
PAGES := intro documentation hardware download links mailinglist
|
||||
OTHERFILES := comedi_logo.gif
|
||||
|
||||
DESTDIR := /home/www/comedi.org/
|
||||
|
||||
all: $(patsubst %,%.html,$(PAGES))
|
||||
|
||||
frame.pre: frame.html
|
||||
grep -B 99999 CONTENT frame.html | grep -v CONTENT >frame.pre
|
||||
|
||||
frame.post: frame.html
|
||||
grep -A 99999 CONTENT frame.html | grep -v CONTENT >frame.post
|
||||
|
||||
%.html: frame.pre frame.post %-x.html
|
||||
cat frame.pre $(patsubst %.html,%-x.html,$@) frame.post >$@
|
||||
|
||||
clean:
|
||||
-rm frame.pre frame.post
|
||||
-rm $(patsubst %,%.html,$(PAGES))
|
||||
|
||||
install:
|
||||
-mkdir $(DESTDIR)
|
||||
cp $(patsubst %,%.html,$(PAGES)) $(DESTDIR)
|
||||
cp $(OTHERFILES) $(DESTDIR)
|
||||
cd $(DESTDIR) && ln -sf intro.html index.html
|
||||
cd $(DESTDIR) && ln -sf ~ftp/pub/comedi download
|
||||
|
||||
install_doc:
|
||||
install -m 644 ../comedilib/doc/html/*.html $(DESTDIR)/doc
|
||||
|
||||
|
Loading…
Add table
Reference in a new issue