summaryrefslogtreecommitdiff
path: root/textproc/xml2doc/patches/patch-ac
blob: 437e8e0e2ec829e7b304d75d423bdaf9536ed2e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ac,v 1.1 2010/07/07 00:29:32 joerg Exp $

--- examples/Makefile.in.orig	2010-07-07 00:27:14.000000000 +0000
+++ examples/Makefile.in
@@ -15,8 +15,8 @@ clean:
 
 install:
 	@printf "\e[32mInstalling examples...\e[0m\n"
-	mkdir -p $(PREFIX)/share/doc/xml2doc/examples
-	cp -f *.xml $(PREFIX)/share/doc/xml2doc/examples
+	mkdir -p ${DESTDIR}$(PREFIX)/share/doc/xml2doc/examples
+	cp -f *.xml ${DESTDIR}$(PREFIX)/share/doc/xml2doc/examples
 	
 remove:
 	@printf "\e[32mDeinstalling examples...\e[0m\n"