blob: 93ce9414fdc1c972f806bcd13242f2ec7e3f484f [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 \
5 examples/getopt/getopt.c examples/getopt/getopt1.c examples/getopt/getopt.h
Daniel Drakeb1ade6f2008-03-23 21:17:32 +00006SUBDIRS = libusb doc
Daniel Drake852bba42007-11-28 13:48:45 +00007
8if BUILD_EXAMPLES
9SUBDIRS += examples
10endif
11
Toby Gray21cf6e42012-11-21 14:00:31 +000012if BUILD_TESTS
13SUBDIRS += tests
14endif
15
Daniel Drake852bba42007-11-28 13:48:45 +000016pkgconfigdir=$(libdir)/pkgconfig
Daniel Drakee9364d72008-01-04 00:40:49 +000017pkgconfig_DATA=libusb-1.0.pc
Daniel Drake852bba42007-11-28 13:48:45 +000018
Pete Batardc5810172012-03-30 13:05:12 +010019.PHONY: dist-up
Daniel Drake852bba42007-11-28 13:48:45 +000020
Daniel Drakef46716f2009-08-27 21:14:54 +054521reldir = .release/$(distdir)
Daniel Drake852bba42007-11-28 13:48:45 +000022dist-up: dist
Daniel Drakef46716f2009-08-27 21:14:54 +054523 rm -rf $(reldir)
24 mkdir -p $(reldir)
25 cp $(distdir).tar.bz2 $(reldir)
Peter Stugec407a2d2011-09-15 17:04:43 +020026 rsync -rv $(reldir) frs.sourceforge.net:/home/frs/project/l/li/libusb/libusb-1.0/
Daniel Drakef46716f2009-08-27 21:14:54 +054527 rm -rf $(reldir)