From: Uwe Hermann Date: Wed, 23 May 2012 16:45:34 +0000 (+0200) Subject: Add 'make install' target. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=95476053c8ab956615bdeebee14b1b8306c70de3;p=sigrok-firmware.git Add 'make install' target. --- diff --git a/Makefile b/Makefile index 26025c7..1f576b8 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,8 @@ VERSION = "0.1.0" +DESTDIR ?= /usr/local/share/libsigrok/firmware + all: @echo "Run 'make dist' to create a tarball." @@ -32,3 +34,7 @@ dist: ChangeLog -f sigrok-firmware-$(VERSION).tar.gz * @rm -f ChangeLog +install: + @mkdir -p $(DESTDIR) + @cp */*.fw $(DESTDIR) +