]> git.pld-linux.org Git - packages/sox.git/blob - sox-install.patch
- spelling fixes
[packages/sox.git] / sox-install.patch
1 --- sox-12.17.6/src/Makefile.in.orig    2004-10-03 03:02:24.000000000 +0200
2 +++ sox-12.17.6/src/Makefile.in 2004-10-21 22:01:10.089196688 +0200
3 @@ -102,24 +102,24 @@
4  PLAY_INSTALL_1    = install-play
5  
6  install: sox soxmix $(PLAY_INSTALL_$(PLAY_SUPPORT))
7 -       $(top_srcdir)/mkinstalldirs $(bindir)
8 -       $(INSTALL) -c -m 755 sox $(bindir)
9 -       $(INSTALL) -c -m 755 soxmix $(bindir)
10 +       $(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
11 +       $(INSTALL) -c -m 755 sox $(DESTDIR)$(bindir)
12 +       $(INSTALL) -c -m 755 soxmix $(DESTDIR)$(bindir)
13  
14  install-play:
15 -       if [ -f $(bindir)/rec ] ; then $(RM) $(bindir)/rec; fi
16 -       $(top_srcdir)/mkinstalldirs $(bindir)
17 -       $(INSTALL) -c -m 755 play $(bindir)
18 -       $(LN_S) $(bindir)/play $(bindir)/rec
19 +       if [ -f $(DESTDIR)$(bindir)/rec ] ; then $(RM) $(DESTDIR)$(bindir)/rec; fi
20 +       $(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
21 +       $(INSTALL) -c -m 755 play $(DESTDIR)$(bindir)
22 +       $(LN_S) $(bindir)/play $(DESTDIR)$(bindir)/rec
23  
24  install-lib: libst.a
25 -       $(top_srcdir)/mkinstalldirs $(libdir)
26 -       $(top_srcdir)/mkinstalldirs $(includedir)
27 -       $(INSTALL) -c -m 755 libst-config $(bindir)
28 -       $(INSTALL) -c -m 644 libst.a $(libdir)
29 -       $(RANLIB) $(libdir)/libst.a
30 -       $(INSTALL) -c -m 644 $(srcdir)/st.h $(includedir)
31 -       $(INSTALL) -c -m 644 ststdint.h $(includedir)
32 +       $(top_srcdir)/mkinstalldirs $(DESTDIR)$(libdir)
33 +       $(top_srcdir)/mkinstalldirs $(DESTDIR)$(includedir)
34 +       $(INSTALL) -c -m 755 libst-config $(DESTDIR)$(bindir)
35 +       $(INSTALL) -c -m 644 libst.a $(DESTDIR)$(libdir)
36 +       $(RANLIB) $(DESTDIR)$(libdir)/libst.a
37 +       $(INSTALL) -c -m 644 $(srcdir)/st.h $(DESTDIR)$(includedir)
38 +       $(INSTALL) -c -m 644 ststdint.h $(DESTDIR)$(includedir)
39  
40  PLAY_UNINSTALL_0    =
41  PLAY_UNINSTALL_1    = uninstall-play
42 --- sox-12.17.6/Makefile.in.orig        2004-09-02 00:04:02.000000000 +0200
43 +++ sox-12.17.6/Makefile.in     2004-10-21 21:58:35.873641016 +0200
44 @@ -29,22 +29,22 @@
45  
46  install: $(PLAY_INSTALL_$(PLAY_SUPPORT))
47         cd src && $(MAKE) $@
48 -       $(srcdir)/mkinstalldirs $(mandir)/man1
49 -       $(INSTALL) -c -m 644 $(srcdir)/sox.1 $(mandir)/man1
50 -       if [ -f $(mandir)/man1/soxmix.1 ] ; then $(RM) $(mandir)/man1/soxmix.1; fi
51 -       $(LN_S) $(mandir)/man1/sox.1 $(mandir)/man1/soxmix.1
52 -       $(INSTALL) -c -m 644 $(srcdir)/soxexam.1 $(mandir)/man1
53 +       $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1
54 +       $(INSTALL) -c -m 644 $(srcdir)/sox.1 $(DESTDIR)$(mandir)/man1
55 +       if [ -f $(DESTDIR)$(mandir)/man1/soxmix.1 ] ; then $(RM) $(DESTDIR)$(mandir)/man1/soxmix.1; fi
56 +       echo '.so sox.1' > $(DESTDIR)$(mandir)/man1/soxmix.1
57 +       $(INSTALL) -c -m 644 $(srcdir)/soxexam.1 $(DESTDIR)$(mandir)/man1
58  
59  install-play:
60 -       if [ -f $(mandir)/man1/rec.1 ]; then $(RM) $(mandir)/man1/rec.1; fi
61 -       $(srcdir)/mkinstalldirs $(mandir)/man1
62 -       $(INSTALL) -c -m 644 $(srcdir)/play.1 $(mandir)/man1
63 -       $(LN_S) $(mandir)/man1/play.1 $(mandir)/man1/rec.1
64 +       if [ -f $(DESTDIR)$(mandir)/man1/rec.1 ]; then $(RM) $(DESTDIR)$(mandir)/man1/rec.1; fi
65 +       $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1
66 +       $(INSTALL) -c -m 644 $(srcdir)/play.1 $(DESTDIR)$(mandir)/man1
67 +       $(LN_S) $(mandir)/man1/play.1 $(DESTDIR)$(mandir)/man1/rec.1
68  
69  install-lib:
70         cd src && $(MAKE) $@
71 -       $(srcdir)/mkinstalldirs $(mandir)/man3
72 -       $(INSTALL) -c -m 644 $(srcdir)/libst.3 $(mandir)/man3
73 +       $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man3
74 +       $(INSTALL) -c -m 644 $(srcdir)/libst.3 $(DESTDIR)$(mandir)/man3
75  
76  
77  PLAY_UNINSTALL_0    =
This page took 0.057269 seconds and 3 git commands to generate.