summaryrefslogtreecommitdiff
path: root/textproc/xml2doc/patches/patch-aa
blob: decd3503b3198504b81bb9b487662435ffcdaf28 (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
$NetBSD: patch-aa,v 1.1.1.1 2004/02/23 08:39:00 xtraeme Exp $

--- doc/Makefile.in.orig	2004-02-23 09:26:44.000000000 +0100
+++ doc/Makefile.in	2004-02-23 09:31:00.000000000 +0100
@@ -9,7 +9,6 @@
 	export PATH=$(PATH):$(PWD)/src/                   ;
 	for A in *.xml; do xml2doc -oP $$A $$A.pdf ; done ;
 	xml2doc -oM manpage.xml manpage.man               ;
-	gzip manpage.man                                  ;
 	@printf "\e[32mDONE\e[0m\n"
 	
 mrproper: clean
@@ -21,10 +20,10 @@
 install: build
 	@printf "\e[32mInstalling documentation...\e[0m\n"
 	@mkdir -p $(PREFIX)/share/man/man1
-	cp -f manpage.man.gz $(PREFIX)/share/man/man1/xml2doc.1.gz
-	gzip -f $(PREFIX)/share/man/man1/xml2doc.1
-	@mkdir -p $(PREFIX)/share/doc/xml2doc
-	for A in $(DOCS); do cp -f $$A $(PREFIX)/share/doc/xml2doc/ ;done
+	$(BSD_INSTALL_MAN) manpage.man $(PREFIX)/man/man1/xml2doc.1
+	@$(BSD_INSTALL_DATA_DIR) $(PREFIX)/share/doc/xml2doc
+	for A in $(DOCS); do $(BSD_INSTALL_DATA) $$A \
+	    $(PREFIX)/share/doc/xml2doc/ ;done
 
 remove:
 	@printf "\e[32mDeinstalling documentation...\e[0m\n"