build and install html docs, install info in correct packages
Norbert Preining
4 years ago
0 | 0 |
usr/bin/info*
|
|
1 |
usr/share/info/info-stnd.info
|
1 | 2 |
usr/share/man/man1/info*
|
2 | 3 |
usr/share/man/man5/info*
|
3 | |
usr/share/applications/*⏎
|
|
4 |
usr/share/applications/*
|
16 | 16 |
|
17 | 17 |
texinfo := $(CURDIR)/debian/texinfo
|
18 | 18 |
ii := $(CURDIR)/debian/install-info
|
|
19 |
infopkg := $(CURDIR)/debian/info
|
19 | 20 |
tmpdir := $(CURDIR)/debian/tmp
|
20 | 21 |
|
21 | 22 |
build: build-arch build-indep
|
|
45 | 46 |
# backup the generated man page texi2dvi.1 and restore it
|
46 | 47 |
cp man/texi2dvi.1 debian
|
47 | 48 |
$(MAKE)
|
|
49 |
# build html docs
|
|
50 |
cd doc && ../tp/texi2any --html info-stnd
|
|
51 |
cd doc && ../tp/texi2any --html texinfo
|
48 | 52 |
mv debian/texi2dvi.1 man/
|
49 | 53 |
touch man/texi2dvi.1
|
50 | 54 |
# finished
|
|
84 | 88 |
# epsf.tex is in texlive
|
85 | 89 |
rm -rf $(tmpdir)/usr/share/texmf/tex/generic
|
86 | 90 |
# install all the files
|
87 | |
#dh_install --fail-missing --sourcedir=debian/tmp -X share/info
|
88 | 91 |
dh_install
|
89 | |
#
|
90 | 92 |
dh_missing --fail-missing --sourcedir=debian/tmp -X share/info
|
|
93 |
# install html docs
|
|
94 |
mkdir -p $(texinfo)/usr/share/doc/texinfo
|
|
95 |
cp -a doc/texinfo $(texinfo)/usr/share/doc/texinfo/html
|
|
96 |
mkdir -p $(infopkg)/usr/share/doc/info
|
|
97 |
cp -a doc/info-stnd $(infopkg)/usr/share/doc/info/html
|
91 | 98 |
#
|
92 | 99 |
# install additional files that are not installed by default
|
93 | 100 |
install -m 0755 util/txixml2texi $(texinfo)/usr/bin/txixml2texi
|
5 | 5 |
usr/bin/texi2any
|
6 | 6 |
usr/bin/texi2pdf
|
7 | 7 |
usr/lib/texinfo
|
|
8 |
usr/share/info/texinfo.*
|
8 | 9 |
usr/share/locale/*/LC_MESSAGES/texinfo*.mo
|
9 | 10 |
usr/share/man/man1/makeinfo.1
|
10 | 11 |
usr/share/man/man1/pod2texi.1
|