mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-20 04:18:26 +01:00
add man pages to dist
converted to text & html and stored in doc/ Change-Id: I42572bc6f93ffe5270f3ff1b13ca150292fcede4
This commit is contained in:
parent
812dfa1ae1
commit
05bd8e6af5
@ -87,10 +87,19 @@ examples/cwebp examples/dwebp:
|
|||||||
|
|
||||||
dist: DESTDIR := dist
|
dist: DESTDIR := dist
|
||||||
dist: all
|
dist: all
|
||||||
$(INSTALL) -m755 -d $(DESTDIR)/include/webp $(DESTDIR)/lib
|
$(INSTALL) -m755 -d $(DESTDIR)/include/webp \
|
||||||
|
$(DESTDIR)/doc $(DESTDIR)/lib
|
||||||
$(INSTALL) -m755 -s examples/cwebp examples/dwebp $(DESTDIR)
|
$(INSTALL) -m755 -s examples/cwebp examples/dwebp $(DESTDIR)
|
||||||
$(INSTALL) -m644 src/webp/*.h $(DESTDIR)/include/webp
|
$(INSTALL) -m644 src/webp/*.h $(DESTDIR)/include/webp
|
||||||
$(INSTALL) -m644 src/libwebp.a $(DESTDIR)/lib
|
$(INSTALL) -m644 src/libwebp.a $(DESTDIR)/lib
|
||||||
|
umask 022; \
|
||||||
|
for m in man/[cd]webp.1; do \
|
||||||
|
basenam=$$(basename $$m .1); \
|
||||||
|
/usr/bin/groff -t -e -man -T utf8 $$m \
|
||||||
|
| col -bx >$(DESTDIR)/doc/$${basenam}.txt; \
|
||||||
|
/usr/bin/groff -t -e -man -T html $$m \
|
||||||
|
| col -bx >$(DESTDIR)/doc/$${basenam}.html; \
|
||||||
|
done
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) ${OUTPUT} *~ \
|
$(RM) ${OUTPUT} *~ \
|
||||||
|
Loading…
Reference in New Issue
Block a user