diff options
Diffstat (limited to 'proxy/man')
-rw-r--r-- | proxy/man/Makefile.am | 252 |
1 files changed, 126 insertions, 126 deletions
diff --git a/proxy/man/Makefile.am b/proxy/man/Makefile.am index bbffd01..1e73683 100644 --- a/proxy/man/Makefile.am +++ b/proxy/man/Makefile.am @@ -36,129 +36,129 @@ SUFFIXES = .1.xml .1 .3.xml .3 .5.xml .5 .8.xml .8 ######################## # MANPAGE TRANSLATIONS # ######################## - -PO4A=@PO4A@ -SED=@SED@ - -PACKAGE_DOC=gssproxy-docs - -POTFILE = po/$(PACKAGE_DOC).pot -PO4A_CONFIG = po/po4a.cfg - -# Extract the list of languages from the po4a config file. -LINGUAS_DIST = `$(SED) -ne 's/^.*\[po4a_langs\] \(.*\)$$/\1/p' $(srcdir)/$(PO4A_CONFIG)` - -# If the user has not defined it let's use the default. -LINGUAS ?= $(LINGUAS_DIST) - -PO4A_COMMON_OPTS = --option doctype=docbook \ - --package-name $(PACKAGE_DOC) \ - --variable builddir=$(CURDIR) \ - --package-version $(PACKAGE_VERSION) \ - --msgid-bugs-address simo@redhat.com \ - --copyright-holder "Red Hat" - -PO4A_BUILD_OPTS = $(PO4A_COMMON_OPTS) --no-backups - -EXTRA_DIST += \ - $(POTFILE)\ - $(PO4A_CONFIG) - -XML_DOC = $(wildcard $(srcdir)/*.xml) $(wildcard $(srcdir)/include/*.xml) - -if HAVE_PO4A - -# FIXME: Use a stamp file until po4a supports them internally. -man.stamp: $(XML_DOC) $(POTFILE) $(PO4A_CONFIG) - cd $(srcdir) && \ - $(PO4A) $(PO4A_BUILD_OPTS) $(PO4A_CONFIG) - touch $@ - -update-po: - cd $(srcdir) && \ - $(PO4A) $(PO4A_BUILD_OPTS) --force $(PO4A_CONFIG) - -dist-hook: man.stamp - if [ -f man.stamp ]; then \ - cp man.stamp $(distdir); \ - for lang in $(LINGUAS_DIST); do \ - cp $(srcdir)/po/$$lang.po $(distdir)/po; \ - $(mkdir_p) $(distdir)/$$lang; \ - cp -r $(builddir)/$$lang $(distdir)/; \ - done; \ - else \ - cp $(srcdir)/man.stamp $(distdir); \ - for lang in $(LINGUAS_DIST); do \ - cp $(srcdir)/po/$$lang.po $(distdir)/po; \ - $(mkdir_p) $(distdir)/$$lang; \ - cp -r $(srcdir)/$$lang $(distdir)/; \ - done; \ - fi - - -clean-local-no: -clean-local-yes: - for lang in $(LINGUAS); do \ - if [ -d $$lang ]; then \ - rm -rf $$lang; \ - fi \ - done - rm -f $(man_MANS) - rm -f man.stamp - -else - -man.stamp: $(XML_DOC) - touch $@ - -clean-local-no: -clean-local-yes: - rm -f $(man_MANS) - rm -f man.stamp - -endif - -clean-local: clean-local-@USE_NLS@ -distclean-local: clean-local-@USE_NLS@ -mostlyclean-local: clean-local-@USE_NLS@ -maintainer-clean-local: clean-local-@USE_NLS@ - -# Generate translated manual pages -all-local: all-local-@USE_NLS@ -all-local-no: -all-local-yes: man.stamp - if [ -z $$recursion ]; then \ - for lang in $(LINGUAS); do \ - if [ -d $$lang ]; then \ - sources=$$(ls -1 $$lang/*.xml); \ - manpages=$$(echo $$sources | $(SED) 's/\.xml//g'); \ - $(MAKE) recursion=1 man_MANS="$$manpages"; \ - fi \ - done \ - fi - -install-data-local: install-data-local-@USE_NLS@ -install-data-local-no: -install-data-local-yes: - for lang in $(LINGUAS); do \ - if [ -d $$lang ]; then \ - sources=$$(ls -1 $$lang/*.xml); \ - manpages=$$(echo $$sources | $(SED) 's/\.xml//g'); \ - $(MAKE) install-man \ - mandir="$(mandir)/$$lang" \ - man_MANS="$$manpages"; \ - fi \ - done - -uninstall-local: uninstall-local-@USE_NLS@ -uninstall-local-no: -uninstall-local-yes: - for lang in $(LINGUAS); do \ - if [ -d $$lang ]; then \ - sources=$$(ls -1 $$lang/*.xml); \ - manpages=$$(echo $$sources | $(SED) 's/\.xml//g'); \ - $(MAKE) uninstall-man \ - mandir="$(mandir)/$$lang" \ - man_MANS="$$manpages"; \ - fi \ - done +# +#PO4A=@PO4A@ +#SED=@SED@ +# +#PACKAGE_DOC=gssproxy-docs +# +#POTFILE = po/$(PACKAGE_DOC).pot +#PO4A_CONFIG = po/po4a.cfg +# +## Extract the list of languages from the po4a config file. +#LINGUAS_DIST = `$(SED) -ne 's/^.*\[po4a_langs\] \(.*\)$$/\1/p' $(srcdir)/$(PO4A_CONFIG)` +# +## If the user has not defined it let's use the default. +#LINGUAS ?= $(LINGUAS_DIST) +# +#PO4A_COMMON_OPTS = --option doctype=docbook \ +# --package-name $(PACKAGE_DOC) \ +# --variable builddir=$(CURDIR) \ +# --package-version $(PACKAGE_VERSION) \ +# --msgid-bugs-address simo@redhat.com \ +# --copyright-holder "Red Hat" +# +#PO4A_BUILD_OPTS = $(PO4A_COMMON_OPTS) --no-backups +# +#EXTRA_DIST += \ +# $(POTFILE)\ +# $(PO4A_CONFIG) +# +#XML_DOC = $(wildcard $(srcdir)/*.xml) $(wildcard $(srcdir)/include/*.xml) +# +#if HAVE_PO4A +# +## FIXME: Use a stamp file until po4a supports them internally. +#man.stamp: $(XML_DOC) $(POTFILE) $(PO4A_CONFIG) +# cd $(srcdir) && \ +# $(PO4A) $(PO4A_BUILD_OPTS) $(PO4A_CONFIG) +# touch $@ +# +#update-po: +# cd $(srcdir) && \ +# $(PO4A) $(PO4A_BUILD_OPTS) --force $(PO4A_CONFIG) +# +#dist-hook: man.stamp +# if [ -f man.stamp ]; then \ +# cp man.stamp $(distdir); \ +# for lang in $(LINGUAS_DIST); do \ +# cp $(srcdir)/po/$$lang.po $(distdir)/po; \ +# $(mkdir_p) $(distdir)/$$lang; \ +# cp -r $(builddir)/$$lang $(distdir)/; \ +# done; \ +# else \ +# cp $(srcdir)/man.stamp $(distdir); \ +# for lang in $(LINGUAS_DIST); do \ +# cp $(srcdir)/po/$$lang.po $(distdir)/po; \ +# $(mkdir_p) $(distdir)/$$lang; \ +# cp -r $(srcdir)/$$lang $(distdir)/; \ +# done; \ +# fi +# +# +#clean-local-no: +#clean-local-yes: +# for lang in $(LINGUAS); do \ +# if [ -d $$lang ]; then \ +# rm -rf $$lang; \ +# fi \ +# done +# rm -f $(man_MANS) +# rm -f man.stamp +# +#else +# +#man.stamp: $(XML_DOC) +# touch $@ +# +#clean-local-no: +#clean-local-yes: +# rm -f $(man_MANS) +# rm -f man.stamp +# +#endif +# +#clean-local: clean-local-@USE_NLS@ +#distclean-local: clean-local-@USE_NLS@ +#mostlyclean-local: clean-local-@USE_NLS@ +#maintainer-clean-local: clean-local-@USE_NLS@ +# +## Generate translated manual pages +#all-local: all-local-@USE_NLS@ +#all-local-no: +#all-local-yes: man.stamp +# if [ -z $$recursion ]; then \ +# for lang in $(LINGUAS); do \ +# if [ -d $$lang ]; then \ +# sources=$$(ls -1 $$lang/*.xml); \ +# manpages=$$(echo $$sources | $(SED) 's/\.xml//g'); \ +# $(MAKE) recursion=1 man_MANS="$$manpages"; \ +# fi \ +# done \ +# fi +# +#install-data-local: install-data-local-@USE_NLS@ +#install-data-local-no: +#install-data-local-yes: +# for lang in $(LINGUAS); do \ +# if [ -d $$lang ]; then \ +# sources=$$(ls -1 $$lang/*.xml); \ +# manpages=$$(echo $$sources | $(SED) 's/\.xml//g'); \ +# $(MAKE) install-man \ +# mandir="$(mandir)/$$lang" \ +# man_MANS="$$manpages"; \ +# fi \ +# done +# +#uninstall-local: uninstall-local-@USE_NLS@ +#uninstall-local-no: +#uninstall-local-yes: +# for lang in $(LINGUAS); do \ +# if [ -d $$lang ]; then \ +# sources=$$(ls -1 $$lang/*.xml); \ +# manpages=$$(echo $$sources | $(SED) 's/\.xml//g'); \ +# $(MAKE) uninstall-man \ +# mandir="$(mandir)/$$lang" \ +# man_MANS="$$manpages"; \ +# fi \ +# done |