Date:2010-10-06 18:46:55 (13 years 5 months ago)
Author:Xiangfu Liu
Commit:af26e0b5ff08f26de1bde1fa4ebef0d742dc27aa
Message:add DESTDIR to Makefile.

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
Files: Makefile (2 diffs)

Change Details

Makefile
1010# (at your option) any later version.
1111#
1212
13PREFIX = /usr/local
13PREFIX ?= /usr/local
1414
1515UPLOAD = werner@sita.openmoko.org:public_html/fped/
1616
...... 
179179# ----- Install / uninstall ---------------------------------------------------
180180
181181install: all
182        install -m 755 fped $(PREFIX)/bin/
182        mkdir -p $(DESTDIR)/$(PREFIX)/bin/
183        install -m 755 fped $(DESTDIR)/$(PREFIX)/bin/
183184
184185uninstall:
185        rm -f $(PREFIX)/bin/fped
186        rm -f $(DESTDIR)/$(PREFIX)/bin/fped
186187
187188# ----- SVN update ------------------------------------------------------------
188189

Archive Download the corresponding diff file

Branches:
master



interactive