X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-dumps.git;a=blobdiff_plain;f=Makefile;h=f016d358c1db510854a8f94cde3f2516d97d81d1;hp=7dea2f86065f42e47c4b3e406262d80b93e7c845;hb=f3698236a25ecbaefcab1012738a86dbd74e224f;hpb=797bc2e412e53e8fcd91fb34221357292671509a diff --git a/Makefile b/Makefile index 7dea2f8..f016d35 100644 --- a/Makefile +++ b/Makefile @@ -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 +