Added support for multilanguage man pages.
Moved man page install/uninstall from top level to doc/man.
This commit is contained in:
parent
95bdb67224
commit
b5bb8da06b
2 changed files with 4 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
ISUBDIRS = icons
|
||||
SUBDIRS = intl po m4 src $(ISUBDIRS)
|
||||
SUBDIRS = intl po m4 src doc $(ISUBDIRS)
|
||||
pkgdatadir=$(datadir)/@DATADIR@
|
||||
|
||||
bin_SCRIPTS = utils/wmlxgettext
|
||||
|
@ -62,12 +62,9 @@ dist-hook:
|
|||
( $(finddata); $(findnoinst) ) | (cd $(top_srcdir) && tar cf - -T -) | (cd $(distdir) && tar xf -)
|
||||
|
||||
dist_noinst_DATA = copyright changelog wesnoth.dsp wesnoth.dsw
|
||||
dist_man6_MANS = doc/man/wesnoth.6 doc/man/wesnothd.6 doc/man/wesnoth_editor.6
|
||||
|
||||
uninstall-hook:
|
||||
if test -d $(pkgdatadir) ; then rm -r $(pkgdatadir) ; fi
|
||||
if test -d $(mandir)/man6 ; then echo `rmdir $(mandir)/man6` ; fi
|
||||
if test -d $(mandir); then echo `rmdir $(mandir)` ; fi
|
||||
if test -d $(bindir) ; then echo `rmdir $(bindir)` ; fi
|
||||
if test -d $(datadir) ; then echo `rmdir $(datadir)` ; fi
|
||||
if test -d $(prefix) ; then echo `rmdir $(prefix)` ; fi
|
||||
|
|
|
@ -721,6 +721,8 @@ AC_CONFIG_FILES([Makefile
|
|||
src/server/Makefile
|
||||
src/campaign_server/Makefile
|
||||
src/tools/Makefile
|
||||
src/zip/Makefile])
|
||||
src/zip/Makefile
|
||||
doc/Makefile
|
||||
doc/man/Makefile])
|
||||
|
||||
AC_OUTPUT
|
||||
|
|
Loading…
Add table
Reference in a new issue