X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=Makefile;h=954b9856dfc03457845e26e991235a5b50397e52;hb=e0733be5541e70545a4926ec56eaed0a3f30a72c;hp=7dea2f86065f42e47c4b3e406262d80b93e7c845;hpb=797bc2e412e53e8fcd91fb34221357292671509a;p=sigrok-dumps.git diff --git a/Makefile b/Makefile index 7dea2f8..954b985 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ ## -## This file is part of the sigrok project. +## This file is part of the sigrok-dumps project. ## ## Copyright (C) 2012 Uwe Hermann ## @@ -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 +