Makefiles: Remove target-specific variables

Improve portability with non-GNU make by using standard variables.

Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
This commit is contained in:
Chris Dickens 2020-04-09 12:30:57 -07:00
parent 33b3ba3fc7
commit 60c8395eec
3 changed files with 4 additions and 4 deletions

View file

@ -35,9 +35,9 @@ dist-hook:
rm -f $(distdir)/README.orig
rm -f $(distdir)/msvc/.gitattributes
reldir = .release/$(distdir)
sfurl = frs.sourceforge.net:/home/frs/project/libusb/libusb-1.0
.PHONY: dist-upload
dist-upload: reldir = .release/$(distdir)
dist-upload: sfurl = frs.sourceforge.net:/home/frs/project/libusb/libusb-1.0
dist-upload: dist
rm -rf $(reldir)
mkdir -p $(reldir)

View file

@ -8,7 +8,7 @@ docs: @DOXYGEN_HTMLDIR@
@DOXYGEN_HTMLDIR@: doxygen.cfg libusb.png $(LIBUSB_DOC_SRC)
doxygen $<
docs-upload: sfurl = web.sourceforge.net:/home/project-web/libusb/htdocs
sfurl = web.sourceforge.net:/home/project-web/libusb/htdocs
docs-upload: @DOXYGEN_HTMLDIR@
if [ -z "$$SF_USER" ]; then \
rsync -rv --delete $< $(sfurl); \

View file

@ -1 +1 @@
#define LIBUSB_NANO 11489
#define LIBUSB_NANO 11490