comedi-www/Makefile
Ian Abbott 06abf9f223 hardware.xml: Split into sections for comedi.org and Linux kernel drivers
Use separate sub-sections to list the devices supported by the original
comedi.org drivers and the devices supported in the Linux kernel
sources.

The devices supported by the Linux kernel sources are listed in
devices-linux.xml, built from devices-linux.txt.

Like devices.txt, the information in devices-linux.txt is derived from
special comments in the driver sources, except that devices-linux.txt is
based on the Linux kernel sources, rather than the comedi.org driver
sources.  The scripts to extract this information are 'dump_doc' and
'doc_devlist' in the main 'comedi' sources.  (See the Makefile.am file
in the main 'comedi' sources for how to run them.)
2018-03-14 15:06:44 +00:00

25 lines
568 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-linux.xml
devices.xml: devices.txt
perl make_device_table.pl < devices.txt > devices.xml
devices-linux.xml: devices-linux.txt
perl make_device_table.pl < devices-linux.txt > devices-linux.xml
clean:
rm -f $(htmlfiles) devices.xml devices-linux.xml