X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=0ae87b1c178f793f9b5af2b325ff8a613352853f;hb=3cdd47225331282c0e1d37ba8d7b947e84f48d9e;hp=b7341015487d9026c16b0b2550f6e0664c4b06ad;hpb=36074319ac7c80ac0d80334b8664d0bd8e6dee90;p=sigrok-firmware-fx2lafw.git diff --git a/Makefile.am b/Makefile.am index b7341015..0ae87b1c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -38,6 +38,17 @@ ChangeLog: 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