1AUTOMAKE_OPTIONS = dist-bzip2
2ACLOCAL_AMFLAGS = -I m4
3DISTCLEANFILES = ChangeLog libusb.pc
4EXTRA_DIST = LICENSE
5SUBDIRS = libusb
6
7if BUILD_EXAMPLES
8SUBDIRS += examples
9endif
10
11pkgconfigdir=$(libdir)/pkgconfig
12pkgconfig_DATA=libusb.pc
13
14bin_SCRIPTS = libusb-config
15
16.PHONY: ChangeLog dist-up
17ChangeLog:
18	git --git-dir $(top_srcdir)/.git log > ChangeLog || touch ChangeLog
19
20dist-hook: ChangeLog
21
22dist-up: dist
23	rsync $(distdir).tar.bz2 frs.sourceforge.net:uploads/
24
25