openbsd-ports/x11/matchbox/matchbox-window-manager/patches/patch-data_Makefile_in
2006-07-20 21:00:35 +00:00

56 lines
2.1 KiB
Plaintext

$OpenBSD: patch-data_Makefile_in,v 1.2 2006/07/20 21:00:35 robert Exp $
--- data/Makefile.in.orig Tue Mar 7 19:41:45 2006
+++ data/Makefile.in Thu Jul 20 17:56:29 2006
@@ -57,7 +57,7 @@
*) 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)
@@ -171,6 +171,7 @@
@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
@@ -211,20 +212,20 @@
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)
@@ -423,7 +424,7 @@
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