blob: 0155625ac1e15990fe679b488a1366304b7c807f [file] [log] [blame]
Daniel Drakef46716f2009-08-27 21:14:54 +05451AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip
Daniel Drake8be25602009-06-13 17:19:07 +01002ACLOCAL_AMFLAGS = -I m4
Peter Stugee1c06fb2011-09-14 08:23:43 +02003DISTCLEANFILES = libusb-1.0.pc
Pete Batardc9ecb722012-09-16 16:11:10 +01004EXTRA_DIST = TODO PORTING msvc libusb/libusb-1.0.def libusb/version_nano.h \
Toby Gray31b180d2013-08-30 14:42:34 +02005 examples/getopt/getopt.c examples/getopt/getopt1.c examples/getopt/getopt.h \
Hans de Goede65e1a902013-08-30 16:44:45 +02006 android Xcode
Daniel Drakeb1ade6f2008-03-23 21:17:32 +00007SUBDIRS = libusb doc
Daniel Drake852bba42007-11-28 13:48:45 +00008
9if BUILD_EXAMPLES
10SUBDIRS += examples
11endif
12
Toby Gray21cf6e42012-11-21 14:00:31 +000013if BUILD_TESTS
14SUBDIRS += tests
15endif
16
Daniel Drake852bba42007-11-28 13:48:45 +000017pkgconfigdir=$(libdir)/pkgconfig
Daniel Drakee9364d72008-01-04 00:40:49 +000018pkgconfig_DATA=libusb-1.0.pc
Daniel Drake852bba42007-11-28 13:48:45 +000019
Pete Batardc5810172012-03-30 13:05:12 +010020.PHONY: dist-up
Daniel Drake852bba42007-11-28 13:48:45 +000021
Daniel Drakef46716f2009-08-27 21:14:54 +054522reldir = .release/$(distdir)
Daniel Drake852bba42007-11-28 13:48:45 +000023dist-up: dist
Daniel Drakef46716f2009-08-27 21:14:54 +054524 rm -rf $(reldir)
25 mkdir -p $(reldir)
26 cp $(distdir).tar.bz2 $(reldir)
Peter Stugec407a2d2011-09-15 17:04:43 +020027 rsync -rv $(reldir) frs.sourceforge.net:/home/frs/project/l/li/libusb/libusb-1.0/
Daniel Drakef46716f2009-08-27 21:14:54 +054528 rm -rf $(reldir)