mirror of https://git.tukaani.org/xz.git
Added a rough version of the xz man page.
This commit is contained in:
parent
e71903fc61
commit
e1ce2291e7
|
@ -58,6 +58,9 @@ xz_LDADD += $(LTLIBINTL)
|
||||||
$(xz_CPPFLAGS) $(CPPFLAGS) $(RCFLAGS) -i $< -o $@
|
$(xz_CPPFLAGS) $(CPPFLAGS) $(RCFLAGS) -i $< -o $@
|
||||||
|
|
||||||
|
|
||||||
|
dist_man_MANS = xz.1
|
||||||
|
|
||||||
|
|
||||||
## Create symlinks for unxz and xzcat for convenience. Create symlinks also
|
## Create symlinks for unxz and xzcat for convenience. Create symlinks also
|
||||||
## for lzma, unlzma, and lzcat for compatibility with LZMA Utils 4.32.x.
|
## for lzma, unlzma, and lzcat for compatibility with LZMA Utils 4.32.x.
|
||||||
xzlinks = unxz xzcat lzma unlzma lzcat
|
xzlinks = unxz xzcat lzma unlzma lzcat
|
||||||
|
@ -70,6 +73,13 @@ install-exec-hook:
|
||||||
rm -f $$link && \
|
rm -f $$link && \
|
||||||
$(LN_S) $$target $$link; \
|
$(LN_S) $$target $$link; \
|
||||||
done
|
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:
|
uninstall-hook:
|
||||||
cd $(DESTDIR)$(bindir) && \
|
cd $(DESTDIR)$(bindir) && \
|
||||||
|
@ -77,3 +87,8 @@ uninstall-hook:
|
||||||
link=`echo $$name | sed '$(transform)'` && \
|
link=`echo $$name | sed '$(transform)'` && \
|
||||||
rm -f $$link; \
|
rm -f $$link; \
|
||||||
done
|
done
|
||||||
|
cd $(DESTDIR)$(mandir)/man1 && \
|
||||||
|
for name in $(xzlinks); do \
|
||||||
|
link=`echo $$name | sed '$(transform)'` && \
|
||||||
|
rm -f $$link.1; \
|
||||||
|
done
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue