summaryrefslogtreecommitdiff
blob: 953d18ff47983c426574f913f8873f06dc75a10a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- Makefile.orig	2001-03-27 22:19:12.000000000 +0000
+++ Makefile	2004-06-20 18:52:17.513090584 +0000
@@ -2,8 +2,9 @@
 CPPFLAGS = -I/usr/X11R6/include -I/usr/local/include
 LIBS = -lXpm -lX11 -ldockapp  
 LDFLAGS = -L/usr/X11R6/lib -L/usr/local/lib
-CFLAGS = -O2 -Wall
+CFLAGS = -Wall
 DFLAGS = -ggdb3 -Wall
+DESTDIR = /usr/bin/
 
 wmlpq: wmlpq.c wmlpq-master.xpm
 	cc $(CFLAGS) $(LDFLAGS) $(CPPFLAGS) -o wmlpq $(LIBS) wmlpq.c
@@ -18,10 +19,8 @@
 	rm -f wmlpq 
 
 install: wmlpq
-	cp -f wmlpq /usr/local/bin/
-	chmod 755 /usr/local/bin/wmlpq
-	cp -f wmlpq.1x /usr/local/man/man1/
-	chmod 644 /usr/local/man/man1/wmlpq.1x
+	cp -f wmlpq ${DESTDIR}
+	chmod 755 ${DESTDIR}/wmlpq
 
 install-debian: wmlpq
 	cp -f wmlpq $(prefix)/usr/X11R6/bin/