1e9a683104ef3f40d38459c0ca62a2d46f20b0714Yavor GoulishevAUTOMAKE_OPTIONS = dist-bzip2
2e9a683104ef3f40d38459c0ca62a2d46f20b0714Yavor GoulishevACLOCAL_AMFLAGS = -I m4
3e9a683104ef3f40d38459c0ca62a2d46f20b0714Yavor GoulishevDISTCLEANFILES = ChangeLog libusb.pc
4e9a683104ef3f40d38459c0ca62a2d46f20b0714Yavor GoulishevEXTRA_DIST = LICENSE
5e9a683104ef3f40d38459c0ca62a2d46f20b0714Yavor GoulishevSUBDIRS = libusb
6e9a683104ef3f40d38459c0ca62a2d46f20b0714Yavor Goulishev
7e9a683104ef3f40d38459c0ca62a2d46f20b0714Yavor Goulishevif BUILD_EXAMPLES
8e9a683104ef3f40d38459c0ca62a2d46f20b0714Yavor GoulishevSUBDIRS += examples
9e9a683104ef3f40d38459c0ca62a2d46f20b0714Yavor Goulishevendif
10e9a683104ef3f40d38459c0ca62a2d46f20b0714Yavor Goulishev
11e9a683104ef3f40d38459c0ca62a2d46f20b0714Yavor Goulishevpkgconfigdir=$(libdir)/pkgconfig
12e9a683104ef3f40d38459c0ca62a2d46f20b0714Yavor Goulishevpkgconfig_DATA=libusb.pc
13e9a683104ef3f40d38459c0ca62a2d46f20b0714Yavor Goulishev
14e9a683104ef3f40d38459c0ca62a2d46f20b0714Yavor Goulishevbin_SCRIPTS = libusb-config
15e9a683104ef3f40d38459c0ca62a2d46f20b0714Yavor Goulishev
16e9a683104ef3f40d38459c0ca62a2d46f20b0714Yavor Goulishev.PHONY: ChangeLog dist-up
17e9a683104ef3f40d38459c0ca62a2d46f20b0714Yavor GoulishevChangeLog:
18e9a683104ef3f40d38459c0ca62a2d46f20b0714Yavor Goulishev	git --git-dir $(top_srcdir)/.git log > ChangeLog || touch ChangeLog
19e9a683104ef3f40d38459c0ca62a2d46f20b0714Yavor Goulishev
20e9a683104ef3f40d38459c0ca62a2d46f20b0714Yavor Goulishevdist-hook: ChangeLog
21e9a683104ef3f40d38459c0ca62a2d46f20b0714Yavor Goulishev
22e9a683104ef3f40d38459c0ca62a2d46f20b0714Yavor Goulishevdist-up: dist
23e9a683104ef3f40d38459c0ca62a2d46f20b0714Yavor Goulishev	rsync $(distdir).tar.bz2 frs.sourceforge.net:uploads/
24e9a683104ef3f40d38459c0ca62a2d46f20b0714Yavor Goulishev
25