summaryrefslogtreecommitdiffstats
path: root/usr.bin/bzip2/doc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/bzip2/doc/Makefile')
-rw-r--r--usr.bin/bzip2/doc/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/bzip2/doc/Makefile b/usr.bin/bzip2/doc/Makefile
index f2cd6b4..1da51ed 100644
--- a/usr.bin/bzip2/doc/Makefile
+++ b/usr.bin/bzip2/doc/Makefile
@@ -6,9 +6,9 @@ INFO= bzip2
INFOSECTION= "Programming & development tools."
MAKEINFOFLAGS= --no-validate
-CLEANFILES+= bzip2.texi
+CLEANFILES+= bzip2.texi bzip2.texi.orig
-bzip2.texi: manual.texi
- ln -sf ${.ALLSRC} ${.TARGET}
+bzip2.texi: manual.texi manual.texi.diff
+ patch -s -b .orig -o ${.TARGET} < ${.ALLSRC:M*.diff} ${.ALLSRC:M*.texi}
.include <bsd.info.mk>
OpenPOWER on IntegriCloud