Dash:
[t2.git] / package / filesystem / cramfsswap / fix_makefile.patch
blobb4ba01039060a98353f04525274f72ceb8080759
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../cramfsswap/fix_makefile.patch
5 # Copyright (C) 2007 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- cramfsswap-1.4.1/Makefile.vanilla 2007-10-16 11:48:23.000000000 +0200
18 +++ cramfsswap-1.4.1/Makefile 2007-10-16 11:50:53.000000000 +0200
19 @@ -1,13 +1,16 @@
20 #!/usr/bin/make -f
22 +CC=gcc
23 +STRIP=strip
25 all: cramfsswap strip
26 debian: cramfsswap
28 cramfsswap: cramfsswap.c
29 - gcc -Wall -g -O -o cramfsswap -lz cramfsswap.c
30 + $(CC) -Wall -g -O -o cramfsswap -lz cramfsswap.c
32 -strip:
33 - strip cramfsswap
34 +strip: cramfsswap
35 + $(STRIP) cramfsswap
37 install: cramfsswap
38 install cramfsswap $(DESTDIR)/usr/bin