Merge lp:~statik/libeatmydata/install into lp:libeatmydata

Proposed by Elliot Murphy
Status: Merged
Merged at revision: 22
Proposed branch: lp:~statik/libeatmydata/install
Merge into: lp:libeatmydata
Diff against target: 18 lines (+7/-0)
1 file modified
Makefile (+7/-0)
To merge this branch: bzr merge lp:~statik/libeatmydata/install
Reviewer Review Type Date Requested Status
Stewart Smith Pending
Review via email: mp+39568@code.launchpad.net

Description of the change

Adds a primitive install target.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Makefile'
2--- Makefile 2010-05-23 03:12:14 +0000
3+++ Makefile 2010-10-28 19:42:50 +0000
4@@ -1,3 +1,6 @@
5+PREFIX=/usr
6+LIBS=libeatmydata.so.1 libeatmydata.so.1.0
7+
8 all: libs fsynctest
9
10 clean:
11@@ -41,3 +44,7 @@
12 @#grep $(testpat) fsynctest.result.run |sed -e 's%[0-9]* vars%%' > fsynctest.result.run.out
13 @#mv fsynctest.result.run.out fsynctest.result.run
14 @#diff fsynctest.result fsynctest.result.run
15+
16+install:
17+>------mkdir -p $(DESTDIR)$(PREFIX)/lib
18+>------cp -Rf $(LIBS) $(DESTDIR)$(PREFIX)/lib

Subscribers

People subscribed via source and target branches