Daniel Drake | f46716f | 2009-08-27 21:14:54 +0545 | [diff] [blame] | 1 | AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip |
Daniel Drake | 8be2560 | 2009-06-13 17:19:07 +0100 | [diff] [blame] | 2 | ACLOCAL_AMFLAGS = -I m4 |
Peter Stuge | e1c06fb | 2011-09-14 08:23:43 +0200 | [diff] [blame] | 3 | DISTCLEANFILES = libusb-1.0.pc |
Pete Batard | c9ecb72 | 2012-09-16 16:11:10 +0100 | [diff] [blame] | 4 | EXTRA_DIST = TODO PORTING msvc libusb/libusb-1.0.def libusb/version_nano.h \ |
Toby Gray | 31b180d | 2013-08-30 14:42:34 +0200 | [diff] [blame] | 5 | examples/getopt/getopt.c examples/getopt/getopt1.c examples/getopt/getopt.h \ |
Hans de Goede | 65e1a90 | 2013-08-30 16:44:45 +0200 | [diff] [blame] | 6 | android Xcode |
Daniel Drake | b1ade6f | 2008-03-23 21:17:32 +0000 | [diff] [blame] | 7 | SUBDIRS = libusb doc |
Daniel Drake | 852bba4 | 2007-11-28 13:48:45 +0000 | [diff] [blame] | 8 | |
| 9 | if BUILD_EXAMPLES |
| 10 | SUBDIRS += examples |
| 11 | endif |
| 12 | |
Toby Gray | 21cf6e4 | 2012-11-21 14:00:31 +0000 | [diff] [blame] | 13 | if BUILD_TESTS |
| 14 | SUBDIRS += tests |
| 15 | endif |
| 16 | |
Daniel Drake | 852bba4 | 2007-11-28 13:48:45 +0000 | [diff] [blame] | 17 | pkgconfigdir=$(libdir)/pkgconfig |
Daniel Drake | e9364d7 | 2008-01-04 00:40:49 +0000 | [diff] [blame] | 18 | pkgconfig_DATA=libusb-1.0.pc |
Daniel Drake | 852bba4 | 2007-11-28 13:48:45 +0000 | [diff] [blame] | 19 | |
Pete Batard | c581017 | 2012-03-30 13:05:12 +0100 | [diff] [blame] | 20 | .PHONY: dist-up |
Daniel Drake | 852bba4 | 2007-11-28 13:48:45 +0000 | [diff] [blame] | 21 | |
Daniel Drake | f46716f | 2009-08-27 21:14:54 +0545 | [diff] [blame] | 22 | reldir = .release/$(distdir) |
Daniel Drake | 852bba4 | 2007-11-28 13:48:45 +0000 | [diff] [blame] | 23 | dist-up: dist |
Daniel Drake | f46716f | 2009-08-27 21:14:54 +0545 | [diff] [blame] | 24 | rm -rf $(reldir) |
| 25 | mkdir -p $(reldir) |
| 26 | cp $(distdir).tar.bz2 $(reldir) |
Peter Stuge | c407a2d | 2011-09-15 17:04:43 +0200 | [diff] [blame] | 27 | rsync -rv $(reldir) frs.sourceforge.net:/home/frs/project/l/li/libusb/libusb-1.0/ |
Daniel Drake | f46716f | 2009-08-27 21:14:54 +0545 | [diff] [blame] | 28 | rm -rf $(reldir) |