summarylogtreecommitdiffstats
path: root/ZThread-destdir.patch
blob: 762d0d9bff5c34ae52a6d8f49221810dfaeea0e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- ZThread-2.3.2/Makefile.am.orig	2005-03-13 10:56:18.000000000 +0100
+++ ZThread-2.3.2/Makefile.am	2008-09-10 18:36:38.836984794 +0200
@@ -27,14 +27,14 @@
 
 ## install the config script
 install-exec-hook:
-	$(mkinstalldirs) $(bindir)
-	$(INSTALL_PROGRAM) $(top_srcdir)/share/zthread-config $(bindir)
+	$(mkinstalldirs) $(DESTDIR)$(bindir)
+	$(INSTALL_PROGRAM) $(top_srcdir)/share/zthread-config $(DESTDIR)$(bindir)
 
 ## install the config script & m4 macros
 install-data-hook:
-	$(mkinstalldirs) $(datadir)/aclocal
-	$(INSTALL_DATA) $(top_srcdir)/share/zthread.m4 $(datadir)/aclocal
-	$(INSTALL_DATA) $(top_srcdir)/share/pthread.m4 $(datadir)/aclocal
+	$(mkinstalldirs) $(DESTDIR)$(datadir)/aclocal
+	$(INSTALL_DATA) $(top_srcdir)/share/zthread.m4 $(DESTDIR)$(datadir)/aclocal
+	$(INSTALL_DATA) $(top_srcdir)/share/pthread.m4 $(DESTDIR)$(datadir)/aclocal
 	mkdir -p $(DESTDIR)$(includedir)/zthread
 	cp -pR $(top_srcdir)/include/zthread $(DESTDIR)$(includedir)/