]> git.pld-linux.org Git - packages/diction.git/blob - diction-DESTDIR.patch
9275b2f73574bed3405c67ead72b0a857e99b132
[packages/diction.git] / diction-DESTDIR.patch
1 diff -urN diction-1.03.orig/Makefile.in diction-1.03/Makefile.in
2 --- diction-1.03.orig/Makefile.in       2003-04-08 23:28:58.000000000 +0200
3 +++ diction-1.03/Makefile.in    2003-08-09 20:20:38.000000000 +0200
4 @@ -35,21 +35,21 @@
5                 getopt.o getopt1.o $(LIBM) $(LIBS)
6  
7  install:       all
8 -               [ -d @bindir@ ] || @INSTALL@ -m 755 -d @bindir@
9 -               @INSTALL@ diction @bindir@/diction
10 -               @INSTALL@ style @bindir@/style
11 -               @INSTALL@ -m 755 -d @datadir@/diction
12 -               @INSTALL@ -m 644 de @datadir@/diction/de
13 -               @INSTALL@ -m 644 en @datadir@/diction/en
14 -               (cd @datadir@/diction; rm -f C; ln en C)
15 -               [ -d @mandir@/man1 ] || @INSTALL@ -m 755 -d @mandir@/man1
16 -               @INSTALL@ -m 644 diction.1 @mandir@/man1/diction.1
17 -               @INSTALL@ -m 644 style.1 @mandir@/man1/style.1
18 +               [ -d $(DESTDIR)@bindir@ ] || @INSTALL@ -m 755 -d $(DESTDIR)@bindir@
19 +               @INSTALL@ diction $(DESTDIR)@bindir@/diction
20 +               @INSTALL@ style $(DESTDIR)@bindir@/style
21 +               @INSTALL@ -m 755 -d $(DESTDIR)@datadir@/diction
22 +               @INSTALL@ -m 644 de $(DESTDIR)@datadir@/diction/de
23 +               @INSTALL@ -m 644 en $(DESTDIR)@datadir@/diction/en
24 +               (cd $(DESTDIR)@datadir@/diction; rm -f C; ln en C)
25 +               [ -d $(DESTDIR)@mandir@/man1 ] || @INSTALL@ -m 755 -d $(DESTDIR)@mandir@/man1
26 +               @INSTALL@ -m 644 diction.1 $(DESTDIR)@mandir@/man1/diction.1
27 +               @INSTALL@ -m 644 style.1 $(DESTDIR)@mandir@/man1/style.1
28                 make install-po-@USE_NLS@
29  install-po-no:
30  install-po-yes:        $(CATALOGS)
31                 for cat in $(CATALOGS); do \
32 -                 dir=$(localedir)/`basename $$cat .mo`/LC_MESSAGES; \
33 +                 dir=$(DESTDIR)$(localedir)/`basename $$cat .mo`/LC_MESSAGES; \
34                   [ -d $$dir ] || @INSTALL@ -m 755 -d $$dir; \
35                   @INSTALL@ -m 644 $$cat $$dir/diction.mo; \
36                 done
This page took 0.353306 seconds and 2 git commands to generate.