]> git.pld-linux.org Git - packages/diction.git/commitdiff
- support DESTDIR style installation
authorMichal Moskal <michal@moskal.me>
Fri, 30 Aug 2002 12:32:54 +0000 (12:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    diction-DESTDIR.patch -> 1.1

diction-DESTDIR.patch [new file with mode: 0644]

diff --git a/diction-DESTDIR.patch b/diction-DESTDIR.patch
new file mode 100644 (file)
index 0000000..3fc71d3
--- /dev/null
@@ -0,0 +1,35 @@
+--- diction-1.02/Makefile.in   Mon Aug  6 19:09:54 2001
++++ diction-1.02-/Makefile.in  Tue Aug 27 18:21:37 2002
+@@ -28,20 +28,20 @@
+               getopt.o getopt1.o $(LIBM) $(LIBS)
+ install:      all
+-              @INSTALL@ -m 755 -d @bindir@
+-              @INSTALL@ diction @bindir@/diction
+-              @INSTALL@ style @bindir@/style
+-              @INSTALL@ -m 755 -d @datadir@/diction
+-              @INSTALL@ -m 644 de @datadir@/diction/de
+-              @INSTALL@ -m 644 en @datadir@/diction/en
+-              (cd @datadir@/diction; rm -f C; ln en C)
+-              @INSTALL@ -m 755 -d @mandir@/man1
+-              @INSTALL@ -m 644 diction.1 @mandir@/man1/diction.1
+-              @INSTALL@ -m 644 style.1 @mandir@/man1/style.1
++              @INSTALL@ -m 755 -d $(DESTDIR)@bindir@
++              @INSTALL@ diction $(DESTDIR)@bindir@/diction
++              @INSTALL@ style $(DESTDIR)@bindir@/style
++              @INSTALL@ -m 755 -d $(DESTDIR)@datadir@/diction
++              @INSTALL@ -m 644 de $(DESTDIR)@datadir@/diction/de
++              @INSTALL@ -m 644 en $(DESTDIR)@datadir@/diction/en
++              (cd $(DESTDIR)@datadir@/diction; rm -f C; ln -s en C)
++              @INSTALL@ -m 755 -d $(DESTDIR)@mandir@/man1
++              @INSTALL@ -m 644 diction.1 $(DESTDIR)@mandir@/man1/diction.1
++              @INSTALL@ -m 644 style.1 $(DESTDIR)@mandir@/man1/style.1
+ install.msg:
+-              gencat -o @datadir@/locale/en_US/LC_MESSAGES/diction.cat diction-en.msg sent-en.msg
+-              gencat -o @datadir@/locale/en_US/LC_MESSAGES/style.cat style-en.msg sent-en.msg
++              gencat -o $(DESTDIR)@datadir@/locale/en_US/LC_MESSAGES/diction.cat diction-en.msg sent-en.msg
++              gencat -o $(DESTDIR)@datadir@/locale/en_US/LC_MESSAGES/style.cat style-en.msg sent-en.msg
+ .c.o:
+               $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
This page took 0.051915 seconds and 4 git commands to generate.