]> sigrok.org Git - sigrok-firmware-fx2lafw.git/commitdiff
Don't ship the .git/ directory in the tarball.
authorUwe Hermann <redacted>
Mon, 23 Jul 2012 12:55:04 +0000 (14:55 +0200)
committerUwe Hermann <redacted>
Mon, 23 Jul 2012 13:58:37 +0000 (15:58 +0200)
Makefile

index 22d0a691cd5c9f5ee9b8016b8d29abd06e263e84..72a979296eb1c94b85b1f9234163b382f96c29e6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -32,26 +32,27 @@ all: build-all
 build-all: saleae-logic cwav-usbeeax cwav-usbeesx cypress-fx2 braintechnology-usb-lps
 
 saleae-logic:
-       $(MAKE) -C hw/saleae-logic
+       @$(MAKE) -C hw/saleae-logic
 
 cwav-usbeeax:
-       $(MAKE) -C hw/cwav-usbeeax
+       @$(MAKE) -C hw/cwav-usbeeax
 
 cwav-usbeesx:
-       $(MAKE) -C hw/cwav-usbeesx
+       @$(MAKE) -C hw/cwav-usbeesx
 
 cypress-fx2:
-       $(MAKE) -C hw/cypress-fx2
+       @$(MAKE) -C hw/cypress-fx2
 
 braintechnology-usb-lps:
-       $(MAKE) -C hw/braintechnology-usb-lps
+       @$(MAKE) -C hw/braintechnology-usb-lps
 
 ChangeLog:
        @git log > ChangeLog || touch ChangeLog
 
 dist:
-       git clone $(REPO) $(TARBALLDIR)
-       cd $(TARBALLDIR) && $(MAKE) ChangeLog && cd ..
+       @git clone $(REPO) $(TARBALLDIR)
+       @cd $(TARBALLDIR) && $(MAKE) ChangeLog && cd ..
+       @rm -rf $(TARBALLDIR)/.git
        @tar -c -z -f $(TARBALLDIR).tar.gz $(TARBALLDIR)
        @rm -rf $(TARBALLDIR)
 
@@ -69,7 +70,7 @@ clean:
        @rm -rf hw/cwav-usbeesx/build
        @rm -rf hw/cypress-fx2/build
        @rm -rf hw/braintechnology-usb-lps/build
-       $(MAKE) -C fx2lib clean
+       @$(MAKE) -C fx2lib clean
 
 .PHONY: saleae-logic cwav-usbeeax cwav-usbeesx cypress-fx2 braintechnology-usb-lps