46 lines
1.4 KiB
Plaintext
46 lines
1.4 KiB
Plaintext
$OpenBSD: patch-clients_Makefile,v 1.1 2002/02/10 03:04:18 jcs Exp $
|
|
--- clients/Makefile.orig Sun Jan 27 17:13:20 2002
|
|
+++ clients/Makefile Sat Feb 9 20:51:10 2002
|
|
@@ -2,15 +2,15 @@
|
|
# Copyright 1998-2001 Decklin Foster <decklin@red-bean.com>
|
|
# This program is free software; see LICENSE for details.
|
|
|
|
-CC = gcc
|
|
-CFLAGS = -g -O2 -Wall
|
|
+#CC = gcc
|
|
+#CFLAGS = -g -O2 -Wall
|
|
|
|
-XROOT = /usr/X11R6
|
|
-BINDIR = $(DESTDIR)$(XROOT)/bin
|
|
-MANDIR = $(DESTDIR)$(XROOT)/man/man1
|
|
-CFGDIR = $(DESTDIR)/etc/X11/aewm
|
|
+XROOT = ${X11BASE}
|
|
+BINDIR = ${PREFIX}/bin
|
|
+MANDIR = ${PREFIX}/man/man1
|
|
+CFGDIR = ${PREFIX}/share/examples/aewm
|
|
|
|
-INCLUDES = -I../lib -Ilib
|
|
+INCLUDES = -I../lib -Ili -Ilib
|
|
X11PATH = -I$(XROOT)/include
|
|
X11LIBS = -L$(XROOT)/lib -lX11
|
|
XAWLIBS = -L$(XROOT)/lib -lX11 -lXt -lXaw
|
|
@@ -72,15 +72,14 @@
|
|
# --------------------------------------------------------------------
|
|
|
|
install: all
|
|
- install -s $(ALLPROGS) $(BINDIR)
|
|
- install -m 644 $(MANPAGE) $(MANDIR)
|
|
- gzip -9vf $(MANDIR)/$(MANPAGE)
|
|
+ ${BSD_INSTALL_PROGRAM} $(ALLPROGS) $(BINDIR)
|
|
+ ${BSD_INSTALL_MAN} $(MANPAGE) $(MANDIR)
|
|
mkdir -p $(CFGDIR) && cp clientsrc.sample $(CFGDIR)/clientsrc
|
|
cd $(BINDIR) && ln -sf aemenu-gtk aemenu
|
|
cd $(BINDIR) && ln -sf aepanel-gtk aepanel
|
|
cd $(MANDIR) && \
|
|
for i in $(ALLPROGS); do \
|
|
- ln -sf $(MANPAGE).gz $$i.1x.gz; \
|
|
+ ln -sf $(MANPAGE) $$i.1x; \
|
|
done \
|
|
|
|
clean:
|