~ubuntu-branches/debian/sid/menu/sid

« back to all changes in this revision

Viewing changes to doc/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Bill Allombert
  • Date: 2005-05-24 10:34:47 UTC
  • mfrom: (1.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050524103447-9zu50so5d0nte3o9
Tags: 2.1.24
* The "head or tail" release 
* Fix .menus typo in menufile.5. Closes: #306564. Thanks Sean Finney.
* Add Vietnamese menu messages and menu sections translations.
  Thanks Clytie Siddall. Closes: #307450, #308953.
* Update Esperanto menu sections translation. Thanks MJ Ray.
* Add Esperanto menu messages translation. Thanks MJ Ray.
* Unfuzzy Norwegian Bokmål menu messages translation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
all-local: menu.html/index.html menu.txt.gz menu.info.gz
 
2
 
 
3
DOCS = announce-2 BUGS menu.sgml README.changes README.config-menus README.menu-methods README.new-sections README.package-menus README.pre1 TODO translate README.translations
 
4
 
 
5
man_MANS = install-menu.1 menufile.5 su-to-root.1 update-menus.1 wm-menu-config.8
 
6
EXTRA_DIST = $(man_MANS) $(DOCS) menu.sgml $(srcdir)/menu.html $(srcdir)/menu.txt.gz $(srcdir)/menu.info.gz update-menus.fr.1
 
7
 
 
8
docdir=$(datadir)/doc
 
9
pkgdocdir=$(docdir)/menu
 
10
 
 
11
menu.html/index.html: menu.sgml
 
12
        debiandoc2html $<
 
13
 
 
14
menu-one-file.html: menu.sgml
 
15
        debiandoc2html -1 -b menu-1-file $<
 
16
        mv menu-1-file.html/index.html menu-one-file.html
 
17
        rmdir menu-1-file.html
 
18
 
 
19
menu-one-file: menu-one-file.html
 
20
 
 
21
%.info: %.sgml
 
22
        debiandoc2info $<
 
23
 
 
24
%.txt: %.sgml
 
25
        debiandoc2text -O $< > $@
 
26
 
 
27
%.gz:   %
 
28
        gzip --best --force --stdout $< > $@
 
29
clean-local:
 
30
        rm -f menu-one-file.html
 
31
 
 
32
maintainer-clean-local: 
 
33
        rm -rf menu.html *.info* *.txt*
 
34
 
 
35
install-data-local:
 
36
        $(INSTALL) -d \
 
37
             $(DESTDIR)$(pkgdocdir)/examples \
 
38
             $(DESTDIR)$(pkgdocdir)/html \
 
39
             $(DESTDIR)$(pkgdatadir)/default \
 
40
             $(DESTDIR)$(infodir)
 
41
             
 
42
        for i in $(top_srcdir)/examples/*; do \
 
43
           test -f $$i && $(INSTALL_DATA) $$i $(DESTDIR)$(pkgdocdir)/examples;\
 
44
        done;
 
45
 
 
46
        for i in $(top_srcdir)/default/*; do \
 
47
           test -f $$i && $(INSTALL_DATA) $$i $(DESTDIR)$(pkgdatadir)/default;\
 
48
        done;
 
49
 
 
50
        $(INSTALL_DATA) $(srcdir)/menu.html/* $(DESTDIR)$(pkgdocdir)/html
 
51
        $(INSTALL_DATA) $(srcdir)/menu.txt.gz $(DESTDIR)$(pkgdocdir)
 
52
        $(INSTALL_DATA) $(srcdir)/menu.info.gz $(DESTDIR)$(infodir)
 
53
        $(INSTALL_DATA) $(srcdir)/menu.sgml $(DESTDIR)$(pkgdocdir)
 
54
 
 
55
        $(INSTALL_DATA) $(srcdir)/BUGS $(DESTDIR)$(pkgdocdir)
 
56
        $(INSTALL_DATA) $(srcdir)/README.translations $(DESTDIR)$(pkgdocdir)
 
57
        $(INSTALL_DATA) $(srcdir)/../README $(DESTDIR)$(pkgdocdir)
 
58
        
 
59
uninstall-local:
 
60
        rm -r $(DESTDIR)$(pkgdocdir)
 
61
        rm -r $(DESTDIR)$(pkgdatadir)/default
 
62
        rm    $(DESTDIR)$(infodir)/menu.info.gz