This creates a sigrok-firmware-fx2lafw-bin-x.y.z.tar.gz tarball containing
just the *.fw files, so that users don't have to build them manually.
The normal 'make dist' produces a source code tarball, as usual.
dist-hook: ChangeLog
+# Creates a convenience tarball with just the generated *.fw files, so that
+# the users don't have to build them manually.
+TARBALL=$(PACKAGE)-bin-$(VERSION)
+distbin: all ChangeLog
+ $(AM_V_at)$(MKDIR_P) $(TARBALL)
+ $(AM_V_at)$(INSTALL_DATA) hw/*/*.fw $(TARBALL)
+ $(AM_V_at)$(INSTALL_DATA) README NEWS ChangeLog COPYING* $(TARBALL)
+ $(AM_V_at)tar -c -z -f $(TARBALL).tar.gz $(TARBALL)
+ $(AM_V_at)-rm -rf $(TARBALL)
+ $(AM_V_at)-rm -f ChangeLog
+
clean-local:
$(AM_V_at)-rm -f *.asm *.lst *.rel *.rst *.sym