openbsd-ports/x11/matchbox/matchbox-window-manager/patches/patch-data_Makefile_in
jasper c0d121ebc7 - update matchbox-window-manager to 1.2
- better COMMENT

test building and "just commit it" kili@, thanks!
2008-11-11 22:42:17 +00:00

56 lines
2.2 KiB
Plaintext

$OpenBSD: patch-data_Makefile_in,v 1.4 2008/11/11 22:42:17 jasper Exp $
--- data/Makefile.in.orig Thu Apr 12 18:40:34 2007
+++ data/Makefile.in Sun Nov 9 22:02:27 2008
@@ -57,7 +57,7 @@ am__vpath_adj = case $$p in \
*) f=$$p;; \
esac;
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
-am__installdirs = "$(DESTDIR)$(confdir)" "$(DESTDIR)$(defaultsdir)"
+am__installdirs = "$(DESTDIR)$(sampledir)" "$(DESTDIR)$(defaultsdir)"
confDATA_INSTALL = $(INSTALL_DATA)
defaultsDATA_INSTALL = $(INSTALL_DATA)
DATA = $(conf_DATA) $(defaults_DATA)
@@ -182,6 +182,7 @@ target_alias = @target_alias@
@ENABLE_SCHEMAS_FALSE@SUBDIRS = themes
@ENABLE_SCHEMAS_TRUE@SUBDIRS = themes schemas
confdir = $(sysconfdir)/matchbox
+sampledir = $(datadir)/examples/matchbox
conf_DATA = kbdconfig
defaultsdir = $(datadir)/matchbox
@WANT_STANDALONE_FALSE@defaults_DATA = mbnoapp.xpm
@@ -222,20 +223,20 @@ $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4
uninstall-info-am:
install-confDATA: $(conf_DATA)
@$(NORMAL_INSTALL)
- test -z "$(confdir)" || $(mkdir_p) "$(DESTDIR)$(confdir)"
+ test -z "$(sampledir)" || $(mkdir_p) "$(DESTDIR)$(sampledir)"
@list='$(conf_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f=$(am__strip_dir) \
- echo " $(confDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(confdir)/$$f'"; \
- $(confDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(confdir)/$$f"; \
+ echo " $(confDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sampledir)/$$f'"; \
+ $(confDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sampledir)/$$f"; \
done
uninstall-confDATA:
@$(NORMAL_UNINSTALL)
@list='$(conf_DATA)'; for p in $$list; do \
f=$(am__strip_dir) \
- echo " rm -f '$(DESTDIR)$(confdir)/$$f'"; \
- rm -f "$(DESTDIR)$(confdir)/$$f"; \
+ echo " rm -f '$(DESTDIR)$(sampledir)/$$f'"; \
+ rm -f "$(DESTDIR)$(sampledir)/$$f"; \
done
install-defaultsDATA: $(defaults_DATA)
@$(NORMAL_INSTALL)
@@ -434,7 +435,7 @@ check: check-recursive
all-am: Makefile $(DATA)
installdirs: installdirs-recursive
installdirs-am:
- for dir in "$(DESTDIR)$(confdir)" "$(DESTDIR)$(defaultsdir)"; do \
+ for dir in "$(DESTDIR)$(sampledir)" "$(DESTDIR)$(defaultsdir)"; do \
test -z "$$dir" || $(mkdir_p) "$$dir"; \
done
install: install-recursive