0
0
mirror of https://github.com/openwrt/packages.git synced 2025-02-07 05:49:50 +00:00
packages/utils/moreutils/patches/001_disable-manuals.patch
krant c22110929b moreutils: update to 0.69
- Refresh patch

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-04-13 14:02:44 -07:00

22 lines
649 B
Diff

--- 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