File crypto-policies-no-build-manpages.patch of Package crypto-policies
Index: fedora-crypto-policies-20250324.3714354/Makefile
===================================================================
--- fedora-crypto-policies-20250324.3714354.orig/Makefile
+++ fedora-crypto-policies-20250324.3714354/Makefile
@@ -35,9 +35,9 @@ install: $(MANPAGES)
mkdir -p $(DESTDIR)$(BINDIR)
mkdir -p $(DESTDIR)$(LIBEXECDIR)
mkdir -p $(DESTDIR)$(UNITDIR)
- install -p -m 644 $(MAN7PAGES) $(DESTDIR)$(MANDIR)/man7
- install -p -m 644 $(MAN8PAGES) $(DESTDIR)$(MANDIR)/man8
- install -p -m 755 $(SCRIPTS) $(DESTDIR)$(BINDIR)
+ # install -p -m 644 $(MAN7PAGES) $(DESTDIR)$(MANDIR)/man7
+ # install -p -m 644 $(MAN8PAGES) $(DESTDIR)$(MANDIR)/man8
+ # install -p -m 755 $(SCRIPTS) $(DESTDIR)$(BINDIR)
install -p -m 644 $(UNITS) $(DESTDIR)$(UNITDIR)
install -p -m 755 $(LIBEXEC_SCRIPTS) $(DESTDIR)$(LIBEXECDIR)
mkdir -p $(DESTDIR)$(DIR)/
@@ -145,8 +145,8 @@ clean:
rm -rf output
%: %.txt
- $(ASCIIDOC) -v -d manpage -b docbook $<
- $(XSLTPROC) --nonet -o $@ ${MANPAGEXSL} $@.xml
+ # $(ASCIIDOC) -v -d manpage -b docbook $<
+ # $(XSLTPROC) --nonet -o $@ ${MANPAGEXSL} $@.xml
dist:
rm -rf crypto-policies && git clone . crypto-policies && rm -rf crypto-policies/.git/ && tar -czf crypto-policies-git$(VERSION).tar.gz crypto-policies && rm -rf crypto-policies