]> git.meshlink.io Git - meshlink/blob - debian/po-Makefile.in.in.diff
Fix bug when dropping an old connection in favour of a new one from the
[meshlink] / debian / po-Makefile.in.in.diff
1 --- Makefile.in.in.orig Thu Nov  2 20:02:58 2000
2 +++ Makefile.in.in      Thu Nov  2 23:25:42 2000
3 @@ -24,6 +24,8 @@
4  gettextsrcdir = $(prefix)/share/gettext/po
5  subdir = po
6  
7 +DESTDIR = 
8 +
9  INSTALL = @INSTALL@
10  INSTALL_DATA = @INSTALL_DATA@
11  MKINSTALLDIRS = $(top_srcdir)/@MKINSTALLDIRS@
12 @@ -111,16 +113,16 @@
13  install-data-no: all
14  install-data-yes: all
15         if test -r "$(MKINSTALLDIRS)"; then \
16 -         $(MKINSTALLDIRS) $(datadir); \
17 +         $(MKINSTALLDIRS) $(DESTDIR)$(datadir); \
18         else \
19 -         $(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \
20 +         $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir); \
21         fi
22         @catalogs='$(CATALOGS)'; \
23         for cat in $$catalogs; do \
24           cat=`basename $$cat`; \
25           case "$$cat" in \
26 -           *.gmo) destdir=$(gnulocaledir);; \
27 -           *)     destdir=$(localedir);; \
28 +           *.gmo) destdir=$(DESTDIR)$(gnulocaledir);; \
29 +           *)     destdir=$(DESTDIR)$(localedir);; \
30           esac; \
31           lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
32           dir=$$destdir/$$lang/LC_MESSAGES; \