aboutsummaryrefslogtreecommitdiff
path: root/utils/moreutils/patches/001_disable-manuals.patch
blob: 99393af5c03d16dc97d7f88405d3ae609aa6940e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ endif
 
 DOCBOOK2XMAN=xsltproc --param man.authors.section.enabled 0 $(DOCBOOKXSL)/manpages/docbook.xsl
 
-all: $(BINS) $(MANS)
+all: $(BINS)
 
 clean:
 	rm -f $(BINS) $(MANS) dump.c errnos.h errno.o \
@@ -33,9 +33,6 @@ install:
 	$(INSTALL_BIN) $(BINS) $(DESTDIR)$(PREFIX)/bin
 	install $(PERLSCRIPTS) $(DESTDIR)$(PREFIX)/bin
 
-	mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1
-	install -m 644 $(MANS) $(DESTDIR)$(PREFIX)/share/man/man1
-
 uninstall:
 	for i in $(BINS) $(PERLSCRIPTS); do rm -f $(DESTDIR)$(PREFIX)/bin/$$i; done
 	for i in $(MANS); do rm -f $(DESTDIR)$(PREFIX)/share/man/man1/$$i; done