summaryrefslogtreecommitdiff
path: root/Build/source/utils/devnag
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-03-09 00:21:38 +0000
committerKarl Berry <karl@freefriends.org>2016-03-09 00:21:38 +0000
commit519410104e3a9f096064519a8d79e9051cb6aafa (patch)
treee04a3636f9f27286ee81adb89b34de1b0591c8b6 /Build/source/utils/devnag
parentf79c3fad5a130832084c3a0352d1b5c52f37b26e (diff)
include devnag.1
git-svn-id: svn://tug.org/texlive/trunk@39975 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/devnag')
-rw-r--r--Build/source/utils/devnag/ChangeLog6
-rw-r--r--Build/source/utils/devnag/Makefile.am6
-rw-r--r--Build/source/utils/devnag/Makefile.in124
-rw-r--r--Build/source/utils/devnag/devnag.135
4 files changed, 133 insertions, 38 deletions
diff --git a/Build/source/utils/devnag/ChangeLog b/Build/source/utils/devnag/ChangeLog
index 2e664cc7e9f..7f125232d58 100644
--- a/Build/source/utils/devnag/ChangeLog
+++ b/Build/source/utils/devnag/ChangeLog
@@ -1,3 +1,9 @@
+2016-03-09 Karl Berry <karl@tug.org>
+
+ * devnag.1: new file, originally written by Norbert.
+ Double backslash per esr, tldoc mail 29 Feb 2016 06:35:27.
+ * Makefile.am (man1_MANS): list it.
+
2015-07-07 Peter Breitenlohner <peb@mppmu.mpg.de>
* Makefile.am: Better dependencies for 'make check'.
diff --git a/Build/source/utils/devnag/Makefile.am b/Build/source/utils/devnag/Makefile.am
index e8fc97f26cf..a2b0b73fd8e 100644
--- a/Build/source/utils/devnag/Makefile.am
+++ b/Build/source/utils/devnag/Makefile.am
@@ -1,5 +1,7 @@
+## $Id$
## Makefile.am for the TeX Live subdirectory utils/devnag/
##
+## Copyright 2016 Karl Berry <tex-live@tug.org>
## Copyright 2009-2015 Peter Breitenlohner <tex-live@tug.org>
## You may freely use, modify and/or distribute this file.
##
@@ -17,6 +19,9 @@ config.force: $(KPATHSEA_DEPEND)
echo timestamp >config.force
$(SHELL) ./config.status --recheck
+man1_MANS = \
+ devnag.1
+
DISTCLEANFILES = config.force
## Tests.
@@ -32,4 +37,3 @@ EXTRA_DIST += \
tests/vedasample.dn tests/vedasample.tex
DISTCLEANFILES += captions.dn examples.dn *.tex
-
diff --git a/Build/source/utils/devnag/Makefile.in b/Build/source/utils/devnag/Makefile.in
index 8bb0e566e70..9c9c516aef1 100644
--- a/Build/source/utils/devnag/Makefile.in
+++ b/Build/source/utils/devnag/Makefile.in
@@ -102,7 +102,7 @@ mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
-am__installdirs = "$(DESTDIR)$(bindir)"
+am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
PROGRAMS = $(bin_PROGRAMS)
am__dirstamp = $(am__leading_dot)dirstamp
am_devnag_OBJECTS = src/devnag.$(OBJEXT)
@@ -143,6 +143,36 @@ am__can_run_installinfo = \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+man1dir = $(mandir)/man1
+NROFF = nroff
+MANS = $(man1_MANS)
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
$(LISP)config.h.in
# Read a list of newline-separated strings from the standard input,
@@ -187,33 +217,6 @@ am__tty_colors = { \
std=''; \
fi; \
}
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
-am__vpath_adj = case $$p in \
- $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
- *) f=$$p;; \
- esac;
-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
-am__install_max = 40
-am__nobase_strip_setup = \
- srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
-am__nobase_strip = \
- for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
-am__nobase_list = $(am__nobase_strip_setup); \
- for p in $$list; do echo "$$p $$p"; done | \
- sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
- $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
- if (++n[$$2] == $(am__install_max)) \
- { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
- END { for (dir in files) print dir, files[dir] }'
-am__base_list = \
- sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
- sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
-am__uninstall_files_from_dir = { \
- test -z "$$files" \
- || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
- || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
- $(am__cd) "$$dir" && rm -f $$files; }; \
- }
am__recheck_rx = ^[ ]*:recheck:[ ]*
am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
@@ -484,6 +487,9 @@ top_srcdir = @top_srcdir@
AM_CPPFLAGS = -DTEXLIVE
AM_CFLAGS = $(WARNING_CFLAGS)
devnag_SOURCES = src/devnag.c
+man1_MANS = \
+ devnag.1
+
DISTCLEANFILES = config.force captions.dn examples.dn *.tex
TESTS = tests/devnag.test
EXTRA_DIST = $(TESTS) tests/captions.dn tests/captions.tex \
@@ -621,6 +627,47 @@ distclean-compile:
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+install-man1: $(man1_MANS)
+ @$(NORMAL_INSTALL)
+ @list1='$(man1_MANS)'; \
+ list2=''; \
+ test -n "$(man1dir)" \
+ && test -n "`echo $$list1$$list2`" \
+ || exit 0; \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
+ { for i in $$list1; do echo "$$i"; done; \
+ if test -n "$$list2"; then \
+ for i in $$list2; do echo "$$i"; done \
+ | sed -n '/\.1[a-z]*$$/p'; \
+ fi; \
+ } | while read p; do \
+ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; echo "$$p"; \
+ done | \
+ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
+ sed 'N;N;s,\n, ,g' | { \
+ list=; while read file base inst; do \
+ if test "$$base" = "$$inst"; then list="$$list $$file"; else \
+ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
+ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
+ fi; \
+ done; \
+ for i in $$list; do echo "$$i"; done | $(am__base_list) | \
+ while read files; do \
+ test -z "$$files" || { \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
+ done; }
+
+uninstall-man1:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man1_MANS)'; test -n "$(man1dir)" || exit 0; \
+ files=`{ for i in $$list; do echo "$$i"; done; \
+ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
+ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
ID: $(am__tagged_files)
$(am__define_uniq_tagged_files); mkid -fID $$unique
@@ -1003,9 +1050,9 @@ distcleancheck: distclean
check-am: all-am
$(MAKE) $(AM_MAKEFLAGS) check-TESTS
check: check-am
-all-am: Makefile $(PROGRAMS) config.h
+all-am: Makefile $(PROGRAMS) $(MANS) config.h
installdirs:
- for dir in "$(DESTDIR)$(bindir)"; do \
+ for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-am
@@ -1067,7 +1114,7 @@ info: info-am
info-am:
-install-data-am:
+install-data-am: install-man
install-dvi: install-dvi-am
@@ -1083,7 +1130,7 @@ install-info: install-info-am
install-info-am:
-install-man:
+install-man: install-man1
install-pdf: install-pdf-am
@@ -1114,7 +1161,9 @@ ps: ps-am
ps-am:
-uninstall-am: uninstall-binPROGRAMS
+uninstall-am: uninstall-binPROGRAMS uninstall-man
+
+uninstall-man: uninstall-man1
.MAKE: all check-am install-am install-strip
@@ -1128,12 +1177,13 @@ uninstall-am: uninstall-binPROGRAMS
install install-am install-binPROGRAMS install-data \
install-data-am install-dvi install-dvi-am install-exec \
install-exec-am install-html install-html-am install-info \
- install-info-am install-man install-pdf install-pdf-am \
- install-ps install-ps-am install-strip installcheck \
- installcheck-am installdirs maintainer-clean \
+ install-info-am install-man install-man1 install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ installcheck installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-compile \
mostlyclean-generic pdf pdf-am ps ps-am recheck tags tags-am \
- uninstall uninstall-am uninstall-binPROGRAMS
+ uninstall uninstall-am uninstall-binPROGRAMS uninstall-man \
+ uninstall-man1
.PRECIOUS: Makefile
diff --git a/Build/source/utils/devnag/devnag.1 b/Build/source/utils/devnag/devnag.1
new file mode 100644
index 00000000000..ca5ad15e33c
--- /dev/null
+++ b/Build/source/utils/devnag/devnag.1
@@ -0,0 +1,35 @@
+.TH DEVNAG "1" "8 March 2016" "TeX Live"
+.SH NAME
+devnag \- Devanagari for TeX preprocessor
+.SH SYNOPSIS
+.B devnag in[.dn] [out[.tex]]
+.SH DESCRIPTION
+.PP
+.B devnag
+is a preprocessor that reads transliterated Devanagari input delimited by
+\\dn and converts it into a form with which TeX is familiar.
+.PP
+The preprocessor
+handles the details of character placement such as the alignment of
+vowel diacritics and consonant ligatures. The rest of the layout,
+however, must be managed by the user.
+.PP
+For specification of the format please see the documentation accompanying
+the package.
+.SH OPTIONS
+.TP
+in[.dn] out[.tex]
+The default file extension for an input file is .dn and for an output
+file .tex. The output filename is optional. If an output filename is
+not specified, the preprocessor will name it after the input file.
+.TP
+\fB\-v\fR
+report devnag version
+.SH AUTHORS
+.B devnag
+was written by Frans J. Velthuis and is currently maintained by Zdenek
+Wagner as part of TeX Live <tex-live@tug.org>.
+.PP
+This manpage was written by Norbert Preining for Debian/GNU Linux and
+may be used, modified and/or distributed freely by anyone.
+