diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2012-05-14 22:55:55 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2012-05-14 22:55:55 +0200 |
commit | 4fafe8159940fb0c2f93b180361d4f79f7785095 (patch) | |
tree | 49cbf299d4fb7d5a2bde7c56479476fc37729b1a | |
parent | 8a09d657d42993d30d6fb8ecfcee2341dab794a7 (diff) | |
download | sigrok-dumps-4fafe8159940fb0c2f93b180361d4f79f7785095.tar.gz sigrok-dumps-4fafe8159940fb0c2f93b180361d4f79f7785095.zip |
Makefile: Add a simple 'install' target.
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -20,6 +20,8 @@ VERSION = "0.1.0" +DESTDIR ?= /usr/local/share/sigrok-dumps + all: @echo "Run 'make dist' to create a tarball." @@ -32,3 +34,8 @@ dist: ChangeLog -f sigrok-dumps-$(VERSION).tar.gz * @rm -f ChangeLog +install: + @mkdir -p $(DESTDIR) + @cp -r * $(DESTDIR) + @rm -f $(DESTDIR)/Makefile + |