kusano 7d535a
AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip
kusano 7d535a
ACLOCAL_AMFLAGS = -I m4
kusano 7d535a
DISTCLEANFILES = libusb-1.0.pc
kusano 7d535a
MAINTAINERCLEANFILES = ChangeLog
kusano 7d535a
EXTRA_DIST = TODO PORTING msvc
kusano 7d535a
SUBDIRS = libusb doc
kusano 7d535a
kusano 7d535a
if BUILD_EXAMPLES
kusano 7d535a
SUBDIRS += examples
kusano 7d535a
endif
kusano 7d535a
kusano 7d535a
pkgconfigdir=$(libdir)/pkgconfig
kusano 7d535a
pkgconfig_DATA=libusb-1.0.pc
kusano 7d535a
kusano 7d535a
.PHONY: ChangeLog dist-up
kusano 7d535a
ChangeLog:
kusano 7d535a
	git --git-dir $(top_srcdir)/.git log > ChangeLog || touch ChangeLog
kusano 7d535a
kusano 7d535a
dist-hook: ChangeLog
kusano 7d535a
kusano 7d535a
reldir = .release/$(distdir)
kusano 7d535a
dist-up: dist
kusano 7d535a
	rm -rf $(reldir)
kusano 7d535a
	mkdir -p $(reldir)
kusano 7d535a
	cp $(distdir).tar.bz2 $(reldir)
kusano 7d535a
	rsync -rv $(reldir) frs.sourceforge.net:/home/frs/project/l/li/libusb/libusb-1.0/
kusano 7d535a
	rm -rf $(reldir)
kusano 7d535a