]> sigrok.org Git - sigrok-firmware-fx2lafw.git/blobdiff - Makefile.am
GPL headers: Use correct project name.
[sigrok-firmware-fx2lafw.git] / Makefile.am
index b7341015487d9026c16b0b2550f6e0664c4b06ad..8aecbb1c45996cecab4425b021998f3b6d0ff172 100644 (file)
@@ -1,5 +1,5 @@
 ##
-## This file is part of the fx2lafw project.
+## This file is part of the sigrok-firmware-fx2lafw project.
 ##
 ## Copyright (C) 2013 Uwe Hermann <uwe@hermann-uwe.de>
 ##
@@ -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