Changeset 4455

Show
Ignore:
Timestamp:
06/28/06 06:17:20 (2 years ago)
Author:
erijo
Message:

Applied patch from Debian package to make "make install DESTDIR=..." behave
as it should for locales (qt-gui).

Closes #630.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/qt-gui/po/Makefile.am

    r3953 r4455  
    44#will be removed after qt2.1 releases 
    55 
    6 localedir = $(DESTDIR)$(prefix)/share/licq/qt-gui/locale 
     6localedir = $(prefix)/share/licq/qt-gui/locale 
    77 
    88all-local: 
     
    3838 
    3939install-data-local: 
    40     $(mkinstalldirs) $(localedir) 
     40    $(mkinstalldirs) $(DESTDIR)$(localedir) 
    4141    @for i in ./*.qm; do \ 
    4242      if test "$$i" != "template.qm"; then \ 
    43         echo " $(INSTALL_DATA) $$i $(localedir)/$$i"; \ 
    44         $(INSTALL_DATA) $$i $(localedir)/$$i; \ 
     43        echo " $(INSTALL_DATA) $$i $(DESTDIR)$(localedir)/$$i"; \ 
     44        $(INSTALL_DATA) $$i $(DESTDIR)$(localedir)/$$i; \ 
    4545      fi \ 
    4646    done; \ 
    47     cd $(localedir) && rm -f cs.qm; \ 
    48     cd $(localedir) && ln -s cs_CZ.qm cs.qm 
     47    cd $(DESTDIR)$(localedir) && rm -f cs.qm; \ 
     48    cd $(DESTDIR)$(localedir) && ln -s cs_CZ.qm cs.qm 
    4949 
    5050template:  
     
    5353 
    5454uninstall-local: 
    55     -rm -f $(localedir)/*.qm 
     55    -rm -f $(DESTDIR)$(localedir)/*.qm