Date:2010-10-12 17:45:09 (13 years 5 months ago)
Author:werner
Commit:585ea5595ddfa3207b4240ee61f7850dba849060
Message:add DESTDIR to Makefile.

the Debian package is need DESTDIR and Debian also install binary
to /usr/bin/

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>



git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5982 99fdad57-331a-0410-800a-d7fa5415bdb3
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
...... 
182182# ----- Install / uninstall ---------------------------------------------------
183183
184184install: all
185        install -m 755 fped $(PREFIX)/bin/
185        mkdir -p $(DESTDIR)/$(PREFIX)/bin/
186        install -m 755 fped $(DESTDIR)/$(PREFIX)/bin/
186187
187188uninstall:
188        rm -f $(PREFIX)/bin/fped
189        rm -f $(DESTDIR)/$(PREFIX)/bin/fped
189190
190191# ----- SVN update ------------------------------------------------------------
191192

Archive Download the corresponding diff file

Branches:
master



interactive