1 AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip 2 ACLOCAL_AMFLAGS = -I m4 3 DISTCLEANFILES = ChangeLog libusb-1.0.pc 4 EXTRA_DIST = TODO PORTING 5 SUBDIRS = libusb doc 6 7 if BUILD_EXAMPLES 8 SUBDIRS += examples 9 endif 10 11 pkgconfigdir=$(libdir)/pkgconfig 12 pkgconfig_DATA=libusb-1.0.pc 13 14 .PHONY: ChangeLog dist-up 15 ChangeLog: 16 git --git-dir $(top_srcdir)/.git log > ChangeLog || touch ChangeLog 17 18 dist-hook: ChangeLog 19 20 reldir = .release/$(distdir) 21 dist-up: dist 22 rm -rf $(reldir) 23 mkdir -p $(reldir) 24 cp $(distdir).tar.bz2 $(reldir) 25 rsync -rv $(reldir) dsd_,libusb (a] frs.sourceforge.net:/home/frs/project/l/li/libusb/libusb-1.0/ 26 rm -rf $(reldir) 27 28