1AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip
2ACLOCAL_AMFLAGS = -I m4
3DISTCLEANFILES = libusb-1.0.pc
4EXTRA_DIST = TODO PORTING msvc libusb/libusb-1.0.def libusb/version_nano.h \
5  examples/getopt/getopt.c examples/getopt/getopt1.c examples/getopt/getopt.h \
6  android Xcode
7SUBDIRS = libusb doc
8
9if BUILD_EXAMPLES
10SUBDIRS += examples
11endif
12
13if BUILD_TESTS
14SUBDIRS += tests
15endif
16
17pkgconfigdir=$(libdir)/pkgconfig
18pkgconfig_DATA=libusb-1.0.pc
19
20.PHONY: dist-up
21
22reldir = .release/$(distdir)
23dist-up: dist
24	rm -rf $(reldir)
25	mkdir -p $(reldir)
26	cp $(distdir).tar.bz2 $(reldir)
27	rsync -rv $(reldir) frs.sourceforge.net:/home/frs/project/l/li/libusb/libusb-1.0/
28	rm -rf $(reldir)
29