summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 44a3452e9bfcc70922cdcfec129a24a6c42af017 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
AUTOMAKE_OPTIONS = dist-bzip2
DISTCLEANFILES = ChangeLog libusb-1.0.pc
EXTRA_DIST = TODO
SUBDIRS = libusb doc

if BUILD_EXAMPLES
SUBDIRS += examples
endif

pkgconfigdir=$(libdir)/pkgconfig
pkgconfig_DATA=libusb-1.0.pc

.PHONY: ChangeLog dist-up
ChangeLog:
	git --git-dir $(top_srcdir)/.git log > ChangeLog || touch ChangeLog

dist-hook: ChangeLog

dist-up: dist
	ncftpput upload.sourceforge.net incoming $(distdir).tar.bz2