blob: 323e45308cf59d59705bb75db0b77e5cc26dd579 (
plain)
1 diff -ru wmlaptop-1.4-orig/Makefile wmlaptop-1.4/Makefile
2 --- wmlaptop-1.4-orig/Makefile 2004-09-11 14:42:51.000000000 +0300
3 +++ wmlaptop-1.4/Makefile 2006-01-02 19:58:10.000000000 +0200
4 @@ -1,11 +1,11 @@
5 # modify this if you want/need
6
7 -INSTALLDIR = /usr/local/bin/
8 +INSTALLDIR = $(PKG)/usr/bin
9 CC = gcc
10
11 LIBDIR = -L/usr/X11R6/lib
12 LIBS = -lXpm -lXext -lX11
13 -CFLAGS = -Wall -g
14 +#CFLAGS = -Wall -g
15 OBJS = main.o init.o event.o draw.o battery.o cpu.o autoscript.o pixmap.o
16 EXE = wmlaptop
17
18 @@ -13,7 +13,7 @@
19 export INSTALLDIR
20 export LIBDIR
21 export LIBS
22 -export CFLAGS
23 +#export CFLAGS
24 export OBJS
25 export EXE
26 export CC
27 diff -ru wmlaptop-1.4-orig/src/Makefile wmlaptop-1.4/src/Makefile
28 --- wmlaptop-1.4-orig/src/Makefile 2004-03-08 14:05:00.000000000 +0200
29 +++ wmlaptop-1.4/src/Makefile 2006-01-02 20:03:47.000000000 +0200
30 @@ -20,8 +20,8 @@
31 reall: clean all
32
33 install:
34 - /usr/bin/install -c -o 0 -g 0 -s -m 755 $(EXE) $(INSTALLDIR)/$(EXE)
35 - chmod +s $(INSTALLDIR)/$(EXE)
36 + /usr/bin/install -D -o 0 -g 0 -s -m 755 $(EXE) $(INSTALLDIR)/$(EXE)
37 +# chmod +s $(INSTALLDIR)/$(EXE)
38
39 uninstall:
40 rm -f $(INSTALLDIR)/$(EXE)
|