Browse Source

* Replace 'man3caca' with 'man3' in generated manpages.

tags/v0.99.beta14
Sam Hocevar sam 18 years ago
parent
commit
86e74e039b
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      doc/Makefile.am

+ 3
- 1
doc/Makefile.am View File

@@ -46,7 +46,9 @@ if BUILD_DOCUMENTATION
cp `find html -name '*.html' -o -name '*.gif' -o -name '*.png'` \ cp `find html -name '*.html' -o -name '*.gif' -o -name '*.png'` \
$(DESTDIR)$(datadir)/doc/libcucul-dev/html $(DESTDIR)$(datadir)/doc/libcucul-dev/html
$(mkinstalldirs) $(DESTDIR)$(mandir)/man3 $(mkinstalldirs) $(DESTDIR)$(mandir)/man3
cp `find man -name '*.3caca'` $(DESTDIR)$(mandir)/man3
for man in $$(find man -name '*.3caca'); do \
sed 's/man3caca/man3/g' $$man >$(DESTDIR)$(mandir)/man3/$${man##*/}; \
done
$(mkinstalldirs) $(DESTDIR)$(mandir)/man1 $(mkinstalldirs) $(DESTDIR)$(mandir)/man1
rm -f $(DESTDIR)$(mandir)/man1/cacaball.1 rm -f $(DESTDIR)$(mandir)/man1/cacaball.1
ln -s cacafire.1 $(DESTDIR)$(mandir)/man1/cacaball.1 ln -s cacafire.1 $(DESTDIR)$(mandir)/man1/cacaball.1


Loading…
Cancel
Save