summaryrefslogtreecommitdiffstats
path: root/libusb-1.0/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libusb-1.0/Makefile.am27
1 files changed, 27 insertions, 0 deletions
diff --git a/libusb-1.0/Makefile.am b/libusb-1.0/Makefile.am
new file mode 100644
index 0000000..1b65a92
--- /dev/null
+++ b/libusb-1.0/Makefile.am
@@ -0,0 +1,27 @@
+AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip
+ACLOCAL_AMFLAGS = -I m4
+DISTCLEANFILES = ChangeLog libusb-1.0.pc
+EXTRA_DIST = TODO PORTING
+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
+
+reldir = .release/$(distdir)
+dist-up: dist
+ rm -rf $(reldir)
+ mkdir -p $(reldir)
+ cp $(distdir).tar.bz2 $(reldir)
+ rsync -rv $(reldir) dsd_,libusb@frs.sourceforge.net:/home/frs/project/l/li/libusb/libusb-1.0/
+ rm -rf $(reldir)
+