62902ec8d0966827162fbac285436086a6fda891
[packages/crossmingw32-libjpeg.git] / libjpeg-DESTDIR.patch
1 diff -ur jpeg-6b.old/makefile.cfg jpeg-6b/makefile.cfg
2 --- jpeg-6b.old/makefile.cfg    Sat Mar 21 20:08:57 1998
3 +++ jpeg-6b/makefile.cfg        Thu Jun 24 10:37:57 1999
4 @@ -17,7 +17,7 @@
5  binprefix =
6  manprefix =
7  manext = 1
8 -mandir = $(prefix)/man/man$(manext)
9 +mandir = @mandir@/man$(manext)
10  
11  # The name of your C compiler:
12  CC= @CC@
13 @@ -191,25 +191,25 @@
14  # Installation rules:
15  
16  install: cjpeg djpeg jpegtran rdjpgcom wrjpgcom @FORCE_INSTALL_LIB@
17 -       $(INSTALL_PROGRAM) cjpeg $(bindir)/$(binprefix)cjpeg
18 -       $(INSTALL_PROGRAM) djpeg $(bindir)/$(binprefix)djpeg
19 -       $(INSTALL_PROGRAM) jpegtran $(bindir)/$(binprefix)jpegtran
20 -       $(INSTALL_PROGRAM) rdjpgcom $(bindir)/$(binprefix)rdjpgcom
21 -       $(INSTALL_PROGRAM) wrjpgcom $(bindir)/$(binprefix)wrjpgcom
22 -       $(INSTALL_DATA) $(srcdir)/cjpeg.1 $(mandir)/$(manprefix)cjpeg.$(manext)
23 -       $(INSTALL_DATA) $(srcdir)/djpeg.1 $(mandir)/$(manprefix)djpeg.$(manext)
24 -       $(INSTALL_DATA) $(srcdir)/jpegtran.1 $(mandir)/$(manprefix)jpegtran.$(manext)
25 -       $(INSTALL_DATA) $(srcdir)/rdjpgcom.1 $(mandir)/$(manprefix)rdjpgcom.$(manext)
26 -       $(INSTALL_DATA) $(srcdir)/wrjpgcom.1 $(mandir)/$(manprefix)wrjpgcom.$(manext)
27 +       $(INSTALL_PROGRAM) cjpeg $(DESTDIR)$(bindir)/$(binprefix)cjpeg
28 +       $(INSTALL_PROGRAM) djpeg $(DESTDIR)$(bindir)/$(binprefix)djpeg
29 +       $(INSTALL_PROGRAM) jpegtran $(DESTDIR)$(bindir)/$(binprefix)jpegtran
30 +       $(INSTALL_PROGRAM) rdjpgcom $(DESTDIR)$(bindir)/$(binprefix)rdjpgcom
31 +       $(INSTALL_PROGRAM) wrjpgcom $(DESTDIR)$(bindir)/$(binprefix)wrjpgcom
32 +       $(INSTALL_DATA) $(srcdir)/cjpeg.1 $(DESTDIR)$(mandir)/$(manprefix)cjpeg.$(manext)
33 +       $(INSTALL_DATA) $(srcdir)/djpeg.1 $(DESTDIR)$(mandir)/$(manprefix)djpeg.$(manext)
34 +       $(INSTALL_DATA) $(srcdir)/jpegtran.1 $(DESTDIR)$(mandir)/$(manprefix)jpegtran.$(manext)
35 +       $(INSTALL_DATA) $(srcdir)/rdjpgcom.1 $(DESTDIR)$(mandir)/$(manprefix)rdjpgcom.$(manext)
36 +       $(INSTALL_DATA) $(srcdir)/wrjpgcom.1 $(DESTDIR)$(mandir)/$(manprefix)wrjpgcom.$(manext)
37  
38  install-lib: libjpeg.$(A) install-headers
39 -       $(INSTALL_LIB) libjpeg.$(A) $(libdir)/$(binprefix)libjpeg.$(A)
40 +       $(INSTALL_LIB) libjpeg.$(A) $(DESTDIR)$(libdir)/$(binprefix)libjpeg.$(A)
41  
42  install-headers: jconfig.h
43 -       $(INSTALL_DATA) jconfig.h $(includedir)/jconfig.h
44 -       $(INSTALL_DATA) $(srcdir)/jpeglib.h $(includedir)/jpeglib.h
45 -       $(INSTALL_DATA) $(srcdir)/jmorecfg.h $(includedir)/jmorecfg.h
46 -       $(INSTALL_DATA) $(srcdir)/jerror.h $(includedir)/jerror.h
47 +       $(INSTALL_DATA) jconfig.h $(DESTDIR)$(includedir)/jconfig.h
48 +       $(INSTALL_DATA) $(srcdir)/jpeglib.h $(DESTDIR)$(includedir)/jpeglib.h
49 +       $(INSTALL_DATA) $(srcdir)/jmorecfg.h $(DESTDIR)$(includedir)/jmorecfg.h
50 +       $(INSTALL_DATA) $(srcdir)/jerror.h $(DESTDIR)$(includedir)/jerror.h
51  
52  clean:
53         $(RM) *.o *.lo libjpeg.a libjpeg.la
This page took 0.025482 seconds and 2 git commands to generate.