comedi-www/Makefile
Ian Abbott 7f84719539 Makefile: Change rsync options to use checksums.
Local timestamps are probably newer than the web-site's timestamps even
when the content is unchanged.  Try and preserve timestamps of unchanged
files on the web-site.
2012-05-11 11:37:08 +01:00

22 lines
415 B
Makefile
Executable file

htmlfiles = documentation.html download.html hardware.html \
index.html links.html mailinglist.html applications.html
all: $(htmlfiles)
%.html: %.xml comedi.xsl
xsltproc --xinclude $< -o $@
push:
rsync -rcuv --files-from=files . \
www.comedi.org:/srv/comedi.org/www
hardware.html: devices.xml
devices.xml:
perl make_device_table.pl < devices.txt > devices.xml
clean:
rm -f $(htmlfiles) devices.xml