diff --git a/doc/Makefile.am b/doc/Makefile.am index 80ff8d2..b0bd1c1 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -45,7 +45,7 @@ if BUILD_DOCUMENTATION cp `find html -name '*.html' -o -name '*.gif' -o -name '*.png'` \ $(DESTDIR)$(datadir)/doc/libcaca-dev/html $(mkinstalldirs) $(DESTDIR)$(mandir)/man3 - cp man/man3/*.3caca $(DESTDIR)$(mandir)/man3 + cp `find man/man3 -name '*.3caca'` $(DESTDIR)$(mandir)/man3 $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 rm -f $(DESTDIR)$(mandir)/man1/cacaball.1 ln -s cacademo.1 $(DESTDIR)$(mandir)/man1/cacaball.1