X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-dumps.git;a=blobdiff_plain;f=Makefile;h=349760d1ba50e759f74704f2a583e41532d98117;hp=7dea2f86065f42e47c4b3e406262d80b93e7c845;hb=204c0867d5e83c5d49e52030bc4fb04ae0c8d085;hpb=797bc2e412e53e8fcd91fb34221357292671509a diff --git a/Makefile b/Makefile index 7dea2f8..349760d 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 ## @@ -14,12 +14,13 @@ ## GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License -## along with this program; if not, write to the Free Software -## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +## along with this program; if not, see . ## VERSION = "0.1.0" +DESTDIR ?= /usr/local/share/sigrok-dumps + all: @echo "Run 'make dist' to create a tarball." @@ -32,3 +33,8 @@ dist: ChangeLog -f sigrok-dumps-$(VERSION).tar.gz * @rm -f ChangeLog +install: + @mkdir -p $(DESTDIR) + @cp -r * $(DESTDIR) + @rm -f $(DESTDIR)/Makefile +