You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
673 B
23 lines
673 B
4 months ago
|
LIBUSB_SRC_DIR = @top_srcdir@/libusb
|
||
|
EXCLUDED_FILES = hotplug.h libusbi.h version.h version_nano.h
|
||
|
LIBUSB_SRC = $(wildcard $(LIBUSB_SRC_DIR)/*.c) $(wildcard $(LIBUSB_SRC_DIR)/*.h)
|
||
|
LIBUSB_DOC_SRC = $(filter-out $(addprefix $(LIBUSB_SRC_DIR)/,$(EXCLUDED_FILES)),$(LIBUSB_SRC))
|
||
|
|
||
|
docs: @DOXYGEN_HTMLDIR@
|
||
|
|
||
|
@DOXYGEN_HTMLDIR@: doxygen.cfg @top_srcdir@/doc/libusb.png $(LIBUSB_DOC_SRC)
|
||
|
doxygen $<
|
||
|
|
||
|
sfurl = web.sourceforge.net:/home/project-web/libusb/htdocs
|
||
|
docs-upload: @DOXYGEN_HTMLDIR@
|
||
|
if [ -z "$$SF_USER" ]; then \
|
||
|
rsync -rv --delete $< $(sfurl); \
|
||
|
else \
|
||
|
rsync -rv --delete $< $$SF_USER@$(sfurl); \
|
||
|
fi
|
||
|
|
||
|
clean:
|
||
|
rm -rf @DOXYGEN_HTMLDIR@
|
||
|
|
||
|
.PHONY: clean docs docs-upload
|