summaryrefslogtreecommitdiff
path: root/graphics/gnuplot/patches/patch-ab
blob: b5ebc1ff31b90e785014903cebb6d8b15a627b91 (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
$NetBSD: patch-ab,v 1.10 2008/05/15 20:22:02 drochner Exp $

--- share/Makefile.in.orig	2008-03-08 21:06:28.000000000 +0100
+++ share/Makefile.in
@@ -189,7 +189,7 @@ sysconfdir = @sysconfdir@
 target_alias = @target_alias@
 AUTOMAKE_OPTIONS = foreign 1.2h
 EXTRA_DIST = Gnuplot.app-defaults
-SUBDIRS = LaTeX
+SUBDIRS =
 appdefaultdir = $(libdir)/X11/app-defaults
 APPDEFAULTFILES = Gnuplot
 appdefault_DATA = $(APPDEFAULTFILES)
@@ -229,13 +229,15 @@ $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
 uninstall-info-am:
 install-appdefaultDATA: $(appdefault_DATA)
 	@$(NORMAL_INSTALL)
-	test -z "$(appdefaultdir)" || $(mkdir_p) "$(DESTDIR)$(appdefaultdir)"
-	@list='$(appdefault_DATA)'; for p in $$list; do \
+	if test $${INSTALL_XRESOURCE_DATA:-yes} = yes; then \
+	test -z "$(appdefaultdir)" || $(mkdir_p) "$(DESTDIR)$(appdefaultdir)"; \
+	list='$(appdefault_DATA)'; for p in $$list; do \
 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
 	  f=$(am__strip_dir) \
 	  echo " $(appdefaultDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(appdefaultdir)/$$f'"; \
 	  $(appdefaultDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(appdefaultdir)/$$f"; \
-	done
+	done; \
+	fi
 
 uninstall-appdefaultDATA:
 	@$(NORMAL_UNINSTALL)