# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: package/.../lcdutils/makefile-useprefix.patch # Copyright (C) 2008 The T2 SDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- T2-COPYRIGHT-NOTE-END --- --- lcdutils-0.2/Makefile.vanilla 2008-04-09 17:56:05.000000000 +0200 +++ lcdutils-0.2/Makefile 2008-04-13 18:43:21.000000000 +0200 @@ -2,12 +2,13 @@ #LDFLAGS=-static CFLAGS=-O2 -Wall +prefix=/usr/local all: putlcd buttond install: all - install putlcd /usr/local/sbin - install buttond /usr/local/sbin + install putlcd $(DESTDIR)$(prefix)/sbin + install buttond $(DESTDIR)$(prefix)/sbin clean: rm -f putlcd buttond *.o