summaryrefslogtreecommitdiff
path: root/wm/sawfish/patches/patch-ab
blob: 4b0ef3354e323654b6a012b8f1e4bba51b265191 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
$NetBSD: patch-ab,v 1.1.1.1 2000/12/12 02:03:49 wiz Exp $

--- src/Makefile.in.orig	Fri Sep  1 18:45:15 2000
+++ src/Makefile.in
@@ -19,6 +19,9 @@
 # along with sawmill; see the file COPYING.  If not, write to
 # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
 
+# Don't build client.la by default from this Makefile.  client.la is
+# packaged by x11/sawfish-replibs.
+
 include ../Makedefs
 
 top_builddir=..
@@ -32,7 +35,7 @@
 OBJS := $(SRCS:.c=.o)
 
 DL_SRCS := gradient.c flippers.c x.c selection.c play-sample.c
-DL_OBJS := $(DL_SRCS:%.c=%.la) client.la
+DL_OBJS := $(DL_SRCS:%.c=%.la)
 DL_DSTS = sawfish/wm/util/gradient.la sawfish/wm/util/flippers.la \
 	  sawfish/wm/util/x.la sawfish/wm/util/selection.la \
 	  sawfish/wm/util/play-sample.la
@@ -71,6 +74,8 @@
 	  $(rep_LIBTOOL) --mode=install $(INSTALL_PROGRAM) \
 	  $(notdir $(x)) $(DESTDIR)$(sawfishexecdir)/$(dir $(x));)
 	$(rep_INSTALL_ALIASES) -c . $(DESTDIR)$(sawfishexecdir)
+
+install-client-la : client.la
 	$(rep_LIBTOOL) --mode=install $(INSTALL_PROGRAM) client.la $(DESTDIR)$(repexecdir)/sawfish/
 
 uninstall :
@@ -82,10 +87,12 @@
 	for dl in $(DL_DSTS); do \
 	  $(rep_LIBTOOL) rm $(DESTDIR)${sawfishexecdir}/$$dl; \
 	done
+
+uninstall-client-la :
 	$(rep_DL_UNINSTALL) $(DESTDIR)$(repexecdir)/sawfish/client.la
 
 installdirs : mkinstalldirs
-	$(SHELL) $< $(DESTDIR)$(bindir) $(DESTDIR)$(repexecdir)/sawfish \
+	$(SHELL) $< $(DESTDIR)$(bindir) \
 	  $(foreach x,$(DL_DIRS),$(DESTDIR)$(sawfishexecdir)/$(x))
 
 .libexec :