~libreoffice/+junk/3.3

« back to all changes in this revision

Viewing changes to rules

  • Committer: Matthias Klose
  • Date: 2011-01-02 17:47:52 UTC
  • Revision ID: doko@canonical.com-20110102174752-k7cljsx7d6ig3e6o
  * Merge from OOo:
    - Install Ubuntu presentation templates.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2454
2454
        done
2455
2455
endif
2456
2456
 
 
2457
ifeq "$(DIST)" "Ubuntu"
 
2458
        # install Ubuntu templates
 
2459
        otps=`cd debian/ubuntu; echo *.otp`; \
 
2460
        for iso in $(LANGPACKISOS); do \
 
2461
          [ "$$iso" = "en-US" ] && continue; \
 
2462
          pkgiso=`echo $$iso | tr \[:upper:\] \[:lower:\]`; \
 
2463
          mkdir -p $(PKGDIR)-l10n-$$pkgiso/$(OODIR)/share/template/$$iso/presnt; \
 
2464
          for otp in $$otps; do \
 
2465
            ln -sf ../../en-US/presnt/$$otp \
 
2466
            $(PKGDIR)-l10n-$$pkgiso/$(OODIR)/share/template/$$iso/presnt/$$odt; \
 
2467
          done; \
 
2468
        done
 
2469
endif
 
2470
 
2457
2471
ifeq (pt-BR,$(findstring pt-BR,$(LANGPACKISOS)))
2458
2472
  ifeq "$(PKGSOURCE)" "libreoffice$(VER)"
2459
2473
        # move pt-BR ("BrOffice") splashs into -l10n-pt-br
3385
3399
        install -m644 debian/templates/*.otp $(PKGDIR)-common/$(OODIR)/share/template/en-US/presnt/
3386
3400
endif
3387
3401
 
 
3402
ifeq "$(DIST)" "Ubuntu"
 
3403
        # install Ubuntu templates
 
3404
        mkdir -p $(PKGDIR)-common/$(OODIR)/share/template/en-US/presnt
 
3405
        install -m644 debian/ubuntu/*.otp $(PKGDIR)-common/$(OODIR)/share/template/en-US/presnt/
 
3406
endif
 
3407
 
3388
3408
        # add "libreoffice" symlink
3389
3409
        cd $(PKGDIR)-common/usr/bin && ln -s ooffice libreoffice$(VER)
3390
3410