~ubuntu-branches/ubuntu/precise/amule-adunanza/precise

« back to all changes in this revision

Viewing changes to automake/manpages.am

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2010-02-18 21:16:23 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100218211623-gptwe60zx1knfkmu
Tags: 2010.1+2.2.6-0ubuntu1
* New upstream release (LP: #524697)
  - Drop manpages_spelling_fixes.diff fixed by upstream
  - Drop cryptopp-reference.diff fixed by upstream
  - Bump Standards-Version no changes required
  - Update install files (amule -> amuleadunanza)
  - debian/rules: amule.xpm -> amuleadunanza.xpm
  - Add README.Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
install-data-hook:
2
 
        @for file in $(SELECTED_MANPAGES); do \
 
2
        @test -z "`echo $(SELECTED_MANPAGES)`" || \
 
3
        for file in $(SELECTED_MANPAGES); do \
3
4
                lang=`echo $$file |  sed -e 's/^[^.]*\.//'`; \
4
 
                if test $$lang == 1; then \
 
5
                if test $$lang = 1; then \
5
6
                        echo " $(mkinstalldirs) $(DESTDIR)$(mandir)/man1" ; \
6
7
                        $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 ; \
7
8
                        if test -f $(srcdir)/$$file; then name=$(srcdir)/$$file; \
22
23
        done
23
24
 
24
25
uninstall-hook:
25
 
        @for file in $(SELECTED_MANPAGES); do \
 
26
        @test -z "`echo $(SELECTED_MANPAGES)`" || \
 
27
        for file in $(SELECTED_MANPAGES); do \
26
28
                lang=`echo $$file |  sed -e 's/^[^.]*\.//'`; \
27
 
                if test $$lang == 1; then \
 
29
                if test $$lang = 1; then \
28
30
                        inst=`echo $$file | sed -e "s/\.1//" -e '$(transform)'`.1 ; \
29
31
                        rm -f $(DESTDIR)$(mandir)/man1/$$inst ; \
30
32
                else \