blob: de7789d4aed8ecdeecfca2c130a142dc5d51c73a (
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
|
$NetBSD: patch-aj,v 1.1 2001/01/16 21:59:40 cjones Exp $
--- example/Makefile.in.orig Sat Nov 25 07:02:02 2000
+++ example/Makefile.in Mon Jan 15 15:33:47 2001
@@ -33,7 +33,7 @@
DESTDIR =
-pkgdatadir = $(datadir)/@PACKAGE@
+pkgdatadir = $(datadir)/examples/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
@@ -216,7 +216,16 @@
install-exec-am:
install-exec: install-exec-am
-install-data-am:
+install-data-am: $(noinst_DATA) $(EXTRA_DIST)
+ @$(NORMAL_INSTALL)
+ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
+ @list='$(noinst_DATA) $(EXTRA_DIST)'; for p in $$list; do \
+ if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \
+ $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f; \
+ done
+
install-data: install-data-am
install-am: all-am
|