Added a rough version of the xz man page.

This commit is contained in:
Lasse Collin 2009-08-10 11:22:31 +03:00
parent e71903fc61
commit e1ce2291e7
2 changed files with 1221 additions and 0 deletions

View File

@ -58,6 +58,9 @@ xz_LDADD += $(LTLIBINTL)
$(xz_CPPFLAGS) $(CPPFLAGS) $(RCFLAGS) -i $< -o $@
dist_man_MANS = xz.1
## Create symlinks for unxz and xzcat for convenience. Create symlinks also
## for lzma, unlzma, and lzcat for compatibility with LZMA Utils 4.32.x.
xzlinks = unxz xzcat lzma unlzma lzcat
@ -70,6 +73,13 @@ install-exec-hook:
rm -f $$link && \
$(LN_S) $$target $$link; \
done
cd $(DESTDIR)$(mandir)/man1 && \
target=`echo xz | sed '$(transform)'` && \
for name in $(xzlinks); do \
link=`echo $$name | sed '$(transform)'` && \
rm -f $$link.1 && \
$(LN_S) $$target.1 $$link.1; \
done
uninstall-hook:
cd $(DESTDIR)$(bindir) && \
@ -77,3 +87,8 @@ uninstall-hook:
link=`echo $$name | sed '$(transform)'` && \
rm -f $$link; \
done
cd $(DESTDIR)$(mandir)/man1 && \
for name in $(xzlinks); do \
link=`echo $$name | sed '$(transform)'` && \
rm -f $$link.1; \
done

1206
src/xz/xz.1 Normal file

File diff suppressed because it is too large Load Diff