Changeset 24790


Ignore:
Timestamp:
May 4, 2007, 9:01:17 AM (13 years ago)
Author:
boeyms@…
Message:

devel/cook:

  • patch Makefile.in and change Portfile so that hardcoded paths that cook uses to locate its default data directories are correct, while still destrooting as MacPorts expects.
Location:
trunk/dports/devel/cook
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/cook/Portfile

    r24788 r24790  
    2020patchfiles      patch-Makefile.in patch-common__help.c
    2121pre-configure {
    22         reinplace "s|\$(RPM_BUILD_ROOT)|${destroot}|g" \
    23            "${worksrcpath}/Makefile.in"
    2422        reinplace "s|__PREFIX__|${prefix}|g" \
    2523                "${worksrcpath}/common/help.c"
    2624}
    27 configure.args  --infodir=${prefix}/share/info --mandir=${prefix}/share/man
     25configure.args  --infodir=${prefix}/share/info --mandir=${prefix}/share/man \
     26                --datadir=${prefix}/share
  • trunk/dports/devel/cook/files/patch-Makefile.in

    r24789 r24790  
    11--- Makefile.in 2007-03-18 21:58:15.000000000 +0000
    2 +++ Makefile.in.new     2007-05-03 12:00:57.000000000 +0000
     2+++ Makefile.in.new     2007-05-04 08:43:50.000000000 +0000
    33@@ -197,15 +197,15 @@
    44                common/error_intl.h common/sub.h common/noreturn.h \
     
    29612961 fstrcmp/main.$(OBJEXT): fstrcmp/main.c common/ac/stdio.h common/config.h \
    29622962                common/config.messy.h common/ac/stdlib.h common/arglex.h \
    2963 @@ -2924,20 +2924,20 @@
     2963@@ -2924,137 +2924,137 @@
    29642964                common/format_print.h common/noreturn.h common/fstrcmp.h \
    29652965                common/help.h common/progname.h common/str.h \
     
    29722972 $(datadir)/as: lib/as lib/.datadir
    29732973-  $(INSTALL_DATA) lib/as $@
    2974 +       $(INSTALL_DATA) lib/as $@
     2974+       $(INSTALL_DATA) lib/as $(DESTDIR)$@
    29752975 
    29762976 $(datadir)/bison: lib/bison lib/.datadir
    29772977-  $(INSTALL_DATA) lib/bison $@
    2978 +       $(INSTALL_DATA) lib/bison $@
     2978+       $(INSTALL_DATA) lib/bison $(DESTDIR)$@
    29792979 
    29802980 $(datadir)/c: lib/c lib/.datadir
    29812981-  $(INSTALL_DATA) lib/c $@
    2982 +       $(INSTALL_DATA) lib/c $@
     2982+       $(INSTALL_DATA) lib/c $(DESTDIR)$@
    29832983 
    29842984 $(datadir)/c++: lib/c++ lib/.datadir
    29852985-  $(INSTALL_DATA) lib/c++ $@
    2986 +       $(INSTALL_DATA) lib/c++ $@
     2986+       $(INSTALL_DATA) lib/c++ $(DESTDIR)$@
    29872987 
    29882988 lib/en/LC_MESSAGES/c_incl.mo: lib/en/LC_MESSAGES/c_incl.po \
    29892989                lib/en/LC_MESSAGES/common.po etc/msgfmt.sh
    2990 @@ -2948,7 +2948,7 @@
     2990-sh etc/msgfmt.sh --msgfmt=$(MSGFMT) --msgcat=$(MSGCAT) \
     2991+       sh etc/msgfmt.sh --msgfmt=$(MSGFMT) --msgcat=$(MSGCAT) \
     2992                --output=lib/en/LC_MESSAGES/c_incl.mo \
     2993                lib/en/LC_MESSAGES/c_incl.po \
     2994                lib/en/LC_MESSAGES/common.po
    29912995 
    29922996 $(libdir)/en/LC_MESSAGES/c_incl.mo: lib/en/LC_MESSAGES/c_incl.mo \
    29932997                lib/en/LC_MESSAGES/.libdir
    29942998-  $(INSTALL_DATA) lib/en/LC_MESSAGES/c_incl.mo $@
    2995 +       $(INSTALL_DATA) lib/en/LC_MESSAGES/c_incl.mo $@
     2999+       $(INSTALL_DATA) lib/en/LC_MESSAGES/c_incl.mo $(DESTDIR)$@
    29963000 
    29973001 lib/en/LC_MESSAGES/cook.mo: lib/en/LC_MESSAGES/cook.po \
    29983002                lib/en/LC_MESSAGES/common.po etc/msgfmt.sh
    2999 @@ -2958,7 +2958,7 @@
     3003-sh etc/msgfmt.sh --msgfmt=$(MSGFMT) --msgcat=$(MSGCAT) \
     3004+       sh etc/msgfmt.sh --msgfmt=$(MSGFMT) --msgcat=$(MSGCAT) \
     3005                --output=lib/en/LC_MESSAGES/cook.mo \
     3006                lib/en/LC_MESSAGES/cook.po lib/en/LC_MESSAGES/common.po
    30003007 
    30013008 $(libdir)/en/LC_MESSAGES/cook.mo: lib/en/LC_MESSAGES/cook.mo \
    30023009                lib/en/LC_MESSAGES/.libdir
    30033010-  $(INSTALL_DATA) lib/en/LC_MESSAGES/cook.mo $@
    3004 +       $(INSTALL_DATA) lib/en/LC_MESSAGES/cook.mo $@
     3011+       $(INSTALL_DATA) lib/en/LC_MESSAGES/cook.mo $(DESTDIR)$@
    30053012 
    30063013 lib/en/LC_MESSAGES/cook_bom.mo: lib/en/LC_MESSAGES/cook_bom.po \
    30073014                lib/en/LC_MESSAGES/common.po etc/msgfmt.sh
    3008 @@ -2969,7 +2969,7 @@
     3015-sh etc/msgfmt.sh --msgfmt=$(MSGFMT) --msgcat=$(MSGCAT) \
     3016+       sh etc/msgfmt.sh --msgfmt=$(MSGFMT) --msgcat=$(MSGCAT) \
     3017                --output=lib/en/LC_MESSAGES/cook_bom.mo \
     3018                lib/en/LC_MESSAGES/cook_bom.po \
     3019                lib/en/LC_MESSAGES/common.po
    30093020 
    30103021 $(libdir)/en/LC_MESSAGES/cook_bom.mo: lib/en/LC_MESSAGES/cook_bom.mo \
    30113022                lib/en/LC_MESSAGES/.libdir
    30123023-  $(INSTALL_DATA) lib/en/LC_MESSAGES/cook_bom.mo $@
    3013 +       $(INSTALL_DATA) lib/en/LC_MESSAGES/cook_bom.mo $@
     3024+       $(INSTALL_DATA) lib/en/LC_MESSAGES/cook_bom.mo $(DESTDIR)$@
    30143025 
    30153026 lib/en/LC_MESSAGES/cookfp.mo: lib/en/LC_MESSAGES/cookfp.po \
    30163027                lib/en/LC_MESSAGES/common.po etc/msgfmt.sh
    3017 @@ -2980,7 +2980,7 @@
     3028-sh etc/msgfmt.sh --msgfmt=$(MSGFMT) --msgcat=$(MSGCAT) \
     3029+       sh etc/msgfmt.sh --msgfmt=$(MSGFMT) --msgcat=$(MSGCAT) \
     3030                --output=lib/en/LC_MESSAGES/cookfp.mo \
     3031                lib/en/LC_MESSAGES/cookfp.po \
     3032                lib/en/LC_MESSAGES/common.po
    30183033 
    30193034 $(libdir)/en/LC_MESSAGES/cookfp.mo: lib/en/LC_MESSAGES/cookfp.mo \
    30203035                lib/en/LC_MESSAGES/.libdir
    30213036-  $(INSTALL_DATA) lib/en/LC_MESSAGES/cookfp.mo $@
    3022 +       $(INSTALL_DATA) lib/en/LC_MESSAGES/cookfp.mo $@
     3037+       $(INSTALL_DATA) lib/en/LC_MESSAGES/cookfp.mo $(DESTDIR)$@
    30233038 
    30243039 lib/en/LC_MESSAGES/cooktime.mo: lib/en/LC_MESSAGES/cooktime.po \
    30253040                lib/en/LC_MESSAGES/common.po etc/msgfmt.sh
    3026 @@ -2991,7 +2991,7 @@
     3041-sh etc/msgfmt.sh --msgfmt=$(MSGFMT) --msgcat=$(MSGCAT) \
     3042+       sh etc/msgfmt.sh --msgfmt=$(MSGFMT) --msgcat=$(MSGCAT) \
     3043                --output=lib/en/LC_MESSAGES/cooktime.mo \
     3044                lib/en/LC_MESSAGES/cooktime.po \
     3045                lib/en/LC_MESSAGES/common.po
    30273046 
    30283047 $(libdir)/en/LC_MESSAGES/cooktime.mo: lib/en/LC_MESSAGES/cooktime.mo \
    30293048                lib/en/LC_MESSAGES/.libdir
    30303049-  $(INSTALL_DATA) lib/en/LC_MESSAGES/cooktime.mo $@
    3031 +       $(INSTALL_DATA) lib/en/LC_MESSAGES/cooktime.mo $@
     3050+       $(INSTALL_DATA) lib/en/LC_MESSAGES/cooktime.mo $(DESTDIR)$@
    30323051 
    30333052 lib/en/LC_MESSAGES/file_check.mo: lib/en/LC_MESSAGES/file_check.po \
    30343053                lib/en/LC_MESSAGES/common.po etc/msgfmt.sh
    3035 @@ -3002,7 +3002,7 @@
     3054-sh etc/msgfmt.sh --msgfmt=$(MSGFMT) --msgcat=$(MSGCAT) \
     3055+       sh etc/msgfmt.sh --msgfmt=$(MSGFMT) --msgcat=$(MSGCAT) \
     3056                --output=lib/en/LC_MESSAGES/file_check.mo \
     3057                lib/en/LC_MESSAGES/file_check.po \
     3058                lib/en/LC_MESSAGES/common.po
    30363059 
    30373060 $(libdir)/en/LC_MESSAGES/file_check.mo: lib/en/LC_MESSAGES/file_check.mo \
    30383061                lib/en/LC_MESSAGES/.libdir
    30393062-  $(INSTALL_DATA) lib/en/LC_MESSAGES/file_check.mo $@
    3040 +       $(INSTALL_DATA) lib/en/LC_MESSAGES/file_check.mo $@
     3063+       $(INSTALL_DATA) lib/en/LC_MESSAGES/file_check.mo $(DESTDIR)$@
    30413064 
    30423065 lib/en/LC_MESSAGES/find_libs.mo: lib/en/LC_MESSAGES/find_libs.po \
    30433066                lib/en/LC_MESSAGES/common.po etc/msgfmt.sh
    3044 @@ -3013,7 +3013,7 @@
     3067-sh etc/msgfmt.sh --msgfmt=$(MSGFMT) --msgcat=$(MSGCAT) \
     3068+       sh etc/msgfmt.sh --msgfmt=$(MSGFMT) --msgcat=$(MSGCAT) \
     3069                --output=lib/en/LC_MESSAGES/find_libs.mo \
     3070                lib/en/LC_MESSAGES/find_libs.po \
     3071                lib/en/LC_MESSAGES/common.po
    30453072 
    30463073 $(libdir)/en/LC_MESSAGES/find_libs.mo: lib/en/LC_MESSAGES/find_libs.mo \
    30473074                lib/en/LC_MESSAGES/.libdir
    30483075-  $(INSTALL_DATA) lib/en/LC_MESSAGES/find_libs.mo $@
    3049 +       $(INSTALL_DATA) lib/en/LC_MESSAGES/find_libs.mo $@
     3076+       $(INSTALL_DATA) lib/en/LC_MESSAGES/find_libs.mo $(DESTDIR)$@
    30503077 
    30513078 lib/en/LC_MESSAGES/fstrcmp.mo: lib/en/LC_MESSAGES/fstrcmp.po \
    30523079                lib/en/LC_MESSAGES/common.po etc/msgfmt.sh
    3053 @@ -3024,7 +3024,7 @@
     3080-sh etc/msgfmt.sh --msgfmt=$(MSGFMT) --msgcat=$(MSGCAT) \
     3081+       sh etc/msgfmt.sh --msgfmt=$(MSGFMT) --msgcat=$(MSGCAT) \
     3082                --output=lib/en/LC_MESSAGES/fstrcmp.mo \
     3083                lib/en/LC_MESSAGES/fstrcmp.po \
     3084                lib/en/LC_MESSAGES/common.po
    30543085 
    30553086 $(libdir)/en/LC_MESSAGES/fstrcmp.mo: lib/en/LC_MESSAGES/fstrcmp.mo \
    30563087                lib/en/LC_MESSAGES/.libdir
    30573088-  $(INSTALL_DATA) lib/en/LC_MESSAGES/fstrcmp.mo $@
    3058 +       $(INSTALL_DATA) lib/en/LC_MESSAGES/fstrcmp.mo $@
     3089+       $(INSTALL_DATA) lib/en/LC_MESSAGES/fstrcmp.mo $(DESTDIR)$@
    30593090 
    30603091 lib/en/LC_MESSAGES/make2cook.mo: lib/en/LC_MESSAGES/make2cook.po \
    30613092                lib/en/LC_MESSAGES/common.po etc/msgfmt.sh
    3062 @@ -3035,7 +3035,7 @@
     3093-sh etc/msgfmt.sh --msgfmt=$(MSGFMT) --msgcat=$(MSGCAT) \
     3094+       sh etc/msgfmt.sh --msgfmt=$(MSGFMT) --msgcat=$(MSGCAT) \
     3095                --output=lib/en/LC_MESSAGES/make2cook.mo \
     3096                lib/en/LC_MESSAGES/make2cook.po \
     3097                lib/en/LC_MESSAGES/common.po
    30633098 
    30643099 $(libdir)/en/LC_MESSAGES/make2cook.mo: lib/en/LC_MESSAGES/make2cook.mo \
    30653100                lib/en/LC_MESSAGES/.libdir
    30663101-  $(INSTALL_DATA) lib/en/LC_MESSAGES/make2cook.mo $@
    3067 +       $(INSTALL_DATA) lib/en/LC_MESSAGES/make2cook.mo $@
     3102+       $(INSTALL_DATA) lib/en/LC_MESSAGES/make2cook.mo $(DESTDIR)$@
    30683103 
    30693104 lib/en/LC_MESSAGES/roffpp.mo: lib/en/LC_MESSAGES/roffpp.po \
    30703105                lib/en/LC_MESSAGES/common.po etc/msgfmt.sh
    3071 @@ -3046,15 +3046,15 @@
     3106-sh etc/msgfmt.sh --msgfmt=$(MSGFMT) --msgcat=$(MSGCAT) \
     3107+       sh etc/msgfmt.sh --msgfmt=$(MSGFMT) --msgcat=$(MSGCAT) \
     3108                --output=lib/en/LC_MESSAGES/roffpp.mo \
     3109                lib/en/LC_MESSAGES/roffpp.po \
     3110                lib/en/LC_MESSAGES/common.po
    30723111 
    30733112 $(libdir)/en/LC_MESSAGES/roffpp.mo: lib/en/LC_MESSAGES/roffpp.mo \
    30743113                lib/en/LC_MESSAGES/.libdir
    30753114-  $(INSTALL_DATA) lib/en/LC_MESSAGES/roffpp.mo $@
    3076 +       $(INSTALL_DATA) lib/en/LC_MESSAGES/roffpp.mo $@
     3115+       $(INSTALL_DATA) lib/en/LC_MESSAGES/roffpp.mo $(DESTDIR)$@
    30773116 
    30783117 $(datadir)/en/man1/c_incl.1: lib/en/man1/c_incl.1 bin/roffpp$(EXEEXT) \
     
    30843123-  @rm -f tmp
    30853124+       bin/roffpp$(EXEEXT) -Ilib/en/man1 -Ietc lib/en/man1/c_incl.1 > tmp
    3086 +       $(INSTALL_DATA) tmp $@
     3125+       $(INSTALL_DATA) tmp $(DESTDIR)$@
    30873126+       @rm -f tmp
    30883127 
     
    30983137-  $(INSTALL_DATA) tmp $@
    30993138-  @rm -f tmp
    3100 +       $(INSTALL_DATA) tmp $@
     3139+       $(INSTALL_DATA) tmp $(DESTDIR)$@
    31013140+       @rm -f tmp
    31023141 
     
    31093148-  @rm -f tmp
    31103149+       bin/roffpp$(EXEEXT) -Ilib/en/man1 -Ietc lib/en/man1/cook.1 > tmp
    3111 +       $(INSTALL_DATA) tmp $@
     3150+       $(INSTALL_DATA) tmp $(DESTDIR)$@
    31123151+       @rm -f tmp
    31133152 
     
    31233162-  $(INSTALL_DATA) tmp $@
    31243163-  @rm -f tmp
    3125 +       $(INSTALL_DATA) tmp $@
     3164+       $(INSTALL_DATA) tmp $(DESTDIR)$@
    31263165+       @rm -f tmp
    31273166 
     
    31353174-  @rm -f tmp
    31363175+       bin/roffpp$(EXEEXT) -Ilib/en/man1 -Ietc lib/en/man1/cook_bom.1 > tmp
    3137 +       $(INSTALL_DATA) tmp $@
     3176+       $(INSTALL_DATA) tmp $(DESTDIR)$@
    31383177+       @rm -f tmp
    31393178 
     
    31493188-  $(INSTALL_DATA) tmp $@
    31503189-  @rm -f tmp
    3151 +       $(INSTALL_DATA) tmp $@
     3190+       $(INSTALL_DATA) tmp $(DESTDIR)$@
    31523191+       @rm -f tmp
    31533192 
     
    31583197-  @rm -f tmp
    31593198+       bin/roffpp$(EXEEXT) -Ilib/en/man1 -Ietc lib/en/man1/cook_lic.1 > tmp
    3160 +       $(INSTALL_DATA) tmp $@
     3199+       $(INSTALL_DATA) tmp $(DESTDIR)$@
    31613200+       @rm -f tmp
    31623201 
     
    31683207-  $(INSTALL_DATA) tmp $@
    31693208-  @rm -f tmp
    3170 +       $(INSTALL_DATA) tmp $@
     3209+       $(INSTALL_DATA) tmp $(DESTDIR)$@
    31713210+       @rm -f tmp
    31723211 
     
    31783217-  @rm -f tmp
    31793218+       bin/roffpp$(EXEEXT) -Ilib/en/man1 -Ietc lib/en/man1/cook_rsh.1 > tmp
    3180 +       $(INSTALL_DATA) tmp $@
     3219+       $(INSTALL_DATA) tmp $(DESTDIR)$@
    31813220+       @rm -f tmp
    31823221 
     
    31893228-  $(INSTALL_DATA) tmp $@
    31903229-  @rm -f tmp
    3191 +       $(INSTALL_DATA) tmp $@
     3230+       $(INSTALL_DATA) tmp $(DESTDIR)$@
    31923231+       @rm -f tmp
    31933232 
     
    32003239-  @rm -f tmp
    32013240+       bin/roffpp$(EXEEXT) -Ilib/en/man1 -Ietc lib/en/man1/cookfp.1 > tmp
    3202 +       $(INSTALL_DATA) tmp $@
     3241+       $(INSTALL_DATA) tmp $(DESTDIR)$@
    32033242+       @rm -f tmp
    32043243 
     
    32133252-  $(INSTALL_DATA) tmp $@
    32143253-  @rm -f tmp
    3215 +       $(INSTALL_DATA) tmp $@
     3254+       $(INSTALL_DATA) tmp $(DESTDIR)$@
    32163255+       @rm -f tmp
    32173256 
     
    32253264-  @rm -f tmp
    32263265+       bin/roffpp$(EXEEXT) -Ilib/en/man1 -Ietc lib/en/man1/cooktime.1 > tmp
    3227 +       $(INSTALL_DATA) tmp $@
     3266+       $(INSTALL_DATA) tmp $(DESTDIR)$@
    32283267+       @rm -f tmp
    32293268 
     
    32393278-  $(INSTALL_DATA) tmp $@
    32403279-  @rm -f tmp
    3241 +       $(INSTALL_DATA) tmp $@
     3280+       $(INSTALL_DATA) tmp $(DESTDIR)$@
    32423281+       @rm -f tmp
    32433282 
     
    32513290-  @rm -f tmp
    32523291+       bin/roffpp$(EXEEXT) -Ilib/en/man1 -Ietc lib/en/man1/find_libs.1 > tmp
    3253 +       $(INSTALL_DATA) tmp $@
     3292+       $(INSTALL_DATA) tmp $(DESTDIR)$@
    32543293+       @rm -f tmp
    32553294 
     
    32653304-  $(INSTALL_DATA) tmp $@
    32663305-  @rm -f tmp
    3267 +       $(INSTALL_DATA) tmp $@
     3306+       $(INSTALL_DATA) tmp $(DESTDIR)$@
    32683307+       @rm -f tmp
    32693308 
     
    32773316-  @rm -f tmp
    32783317+       bin/roffpp$(EXEEXT) -Ilib/en/man1 -Ietc lib/en/man1/make2cook.1 > tmp
    3279 +       $(INSTALL_DATA) tmp $@
     3318+       $(INSTALL_DATA) tmp $(DESTDIR)$@
    32803319+       @rm -f tmp
    32813320 
     
    32913330-  $(INSTALL_DATA) tmp $@
    32923331-  @rm -f tmp
    3293 +       $(INSTALL_DATA) tmp $@
     3332+       $(INSTALL_DATA) tmp $(DESTDIR)$@
    32943333+       @rm -f tmp
    32953334 
     
    33023341-  @rm -f tmp
    33033342+       bin/roffpp$(EXEEXT) -Ilib/en/man1 -Ietc lib/en/man1/roffpp.1 > tmp
    3304 +       $(INSTALL_DATA) tmp $@
     3343+       $(INSTALL_DATA) tmp $(DESTDIR)$@
    33053344+       @rm -f tmp
    33063345 
     
    33163355-  $(INSTALL_DATA) tmp $@
    33173356-  @rm -f tmp
    3318 +       $(INSTALL_DATA) tmp $@
     3357+       $(INSTALL_DATA) tmp $(DESTDIR)$@
    33193358+       @rm -f tmp
    33203359 
     
    33323371 $(datadir)/en/refman.ps: lib/en/refman.ps lib/en/.datadir
    33333372-  $(INSTALL_DATA) lib/en/refman.ps $@
    3334 +       $(INSTALL_DATA) lib/en/refman.ps $@
     3373+       $(INSTALL_DATA) lib/en/refman.ps $(DESTDIR)$@
    33353374 
    33363375 lib/en/refman.dvi: lib/en/refman/main.man bin/roffpp$(EXEEXT) etc/toc.so \
     
    33473386 $(datadir)/en/refman.dvi: lib/en/refman.dvi lib/en/.datadir
    33483387-  $(INSTALL_DATA) lib/en/refman.dvi $@
    3349 +       $(INSTALL_DATA) lib/en/refman.dvi $@
     3388+       $(INSTALL_DATA) lib/en/refman.dvi $(DESTDIR)$@
    33503389 
    33513390 lib/en/refman.txt: lib/en/refman/main.man bin/roffpp$(EXEEXT) etc/toc.so \
     
    33623401 $(datadir)/en/refman.txt: lib/en/refman.txt lib/en/.datadir
    33633402-  $(INSTALL_DATA) lib/en/refman.txt $@
    3364 +       $(INSTALL_DATA) lib/en/refman.txt $@
     3403+       $(INSTALL_DATA) lib/en/refman.txt $(DESTDIR)$@
    33653404 
    33663405 lib/en/tutorial.ps: lib/en/tutorial/main.mm bin/roffpp$(EXEEXT) \
     
    33743413 $(datadir)/en/tutorial.ps: lib/en/tutorial.ps lib/en/.datadir
    33753414-  $(INSTALL_DATA) lib/en/tutorial.ps $@
    3376 +       $(INSTALL_DATA) lib/en/tutorial.ps $@
     3415+       $(INSTALL_DATA) lib/en/tutorial.ps $(DESTDIR)$@
    33773416 
    33783417 lib/en/tutorial.dvi: lib/en/tutorial/main.mm bin/roffpp$(EXEEXT) \
     
    33863425 $(datadir)/en/tutorial.dvi: lib/en/tutorial.dvi lib/en/.datadir
    33873426-  $(INSTALL_DATA) lib/en/tutorial.dvi $@
    3388 +       $(INSTALL_DATA) lib/en/tutorial.dvi $@
     3427+       $(INSTALL_DATA) lib/en/tutorial.dvi $(DESTDIR)$@
    33893428 
    33903429 lib/en/tutorial.txt: lib/en/tutorial/main.mm bin/roffpp$(EXEEXT) \
     
    33983437 $(datadir)/en/tutorial.txt: lib/en/tutorial.txt lib/en/.datadir
    33993438-  $(INSTALL_DATA) lib/en/tutorial.txt $@
    3400 +       $(INSTALL_DATA) lib/en/tutorial.txt $@
     3439+       $(INSTALL_DATA) lib/en/tutorial.txt $(DESTDIR)$@
    34013440 
    34023441 lib/en/user-guide.ps: lib/en/user-guide/main.mm bin/roffpp$(EXEEXT) \
     
    34133452 $(datadir)/en/user-guide.ps: lib/en/user-guide.ps lib/en/.datadir
    34143453-  $(INSTALL_DATA) lib/en/user-guide.ps $@
    3415 +       $(INSTALL_DATA) lib/en/user-guide.ps $@
     3454+       $(INSTALL_DATA) lib/en/user-guide.ps $(DESTDIR)$@
    34163455 
    34173456 lib/en/user-guide.dvi: lib/en/user-guide/main.mm bin/roffpp$(EXEEXT) \
     
    34283467 $(datadir)/en/user-guide.dvi: lib/en/user-guide.dvi lib/en/.datadir
    34293468-  $(INSTALL_DATA) lib/en/user-guide.dvi $@
    3430 +       $(INSTALL_DATA) lib/en/user-guide.dvi $@
     3469+       $(INSTALL_DATA) lib/en/user-guide.dvi $(DESTDIR)$@
    34313470 
    34323471 lib/en/user-guide.txt: lib/en/user-guide/main.mm bin/roffpp$(EXEEXT) \
     
    34433482 $(datadir)/en/user-guide.txt: lib/en/user-guide.txt lib/en/.datadir
    34443483-  $(INSTALL_DATA) lib/en/user-guide.txt $@
    3445 +       $(INSTALL_DATA) lib/en/user-guide.txt $@
     3484+       $(INSTALL_DATA) lib/en/user-guide.txt $(DESTDIR)$@
    34463485 
    34473486 $(datadir)/f77: lib/f77 lib/.datadir
    34483487-  $(INSTALL_DATA) lib/f77 $@
    3449 +       $(INSTALL_DATA) lib/f77 $@
     3488+       $(INSTALL_DATA) lib/f77 $(DESTDIR)$@
    34503489 
    34513490 $(datadir)/functions: lib/functions lib/.datadir
    34523491-  $(INSTALL_DATA) lib/functions $@
    3453 +       $(INSTALL_DATA) lib/functions $@
     3492+       $(INSTALL_DATA) lib/functions $(DESTDIR)$@
    34543493 
    34553494 $(datadir)/g77: lib/g77 lib/.datadir
    34563495-  $(INSTALL_DATA) lib/g77 $@
    3457 +       $(INSTALL_DATA) lib/g77 $@
     3496+       $(INSTALL_DATA) lib/g77 $(DESTDIR)$@
    34583497 
    34593498 $(datadir)/gcc: lib/gcc lib/.datadir
    34603499-  $(INSTALL_DATA) lib/gcc $@
    3461 +       $(INSTALL_DATA) lib/gcc $@
     3500+       $(INSTALL_DATA) lib/gcc $(DESTDIR)$@
    34623501 
    34633502 $(datadir)/home: lib/home lib/.datadir
    34643503-  $(INSTALL_DATA) lib/home $@
    3465 +       $(INSTALL_DATA) lib/home $@
     3504+       $(INSTALL_DATA) lib/home $(DESTDIR)$@
    34663505 
    34673506 $(datadir)/host_lists.pl: lib/host_lists.pl lib/.datadir
    34683507-  $(INSTALL_DATA) lib/host_lists.pl $@
    3469 +       $(INSTALL_DATA) lib/host_lists.pl $@
     3508+       $(INSTALL_DATA) lib/host_lists.pl $(DESTDIR)$@
    34703509 
    34713510 $(datadir)/java: lib/java lib/.datadir
    34723511-  $(INSTALL_DATA) lib/java $@
    3473 +       $(INSTALL_DATA) lib/java $@
     3512+       $(INSTALL_DATA) lib/java $(DESTDIR)$@
    34743513 
    34753514 $(datadir)/lex: lib/lex lib/.datadir
    34763515-  $(INSTALL_DATA) lib/lex $@
    3477 +       $(INSTALL_DATA) lib/lex $@
     3516+       $(INSTALL_DATA) lib/lex $(DESTDIR)$@
    34783517 
    34793518 $(datadir)/library: lib/library lib/.datadir
    34803519-  $(INSTALL_DATA) lib/library $@
    3481 +       $(INSTALL_DATA) lib/library $@
     3520+       $(INSTALL_DATA) lib/library $(DESTDIR)$@
    34823521 
    34833522 $(datadir)/print: lib/print lib/.datadir
    34843523-  $(INSTALL_DATA) lib/print $@
    3485 +       $(INSTALL_DATA) lib/print $@
     3524+       $(INSTALL_DATA) lib/print $(DESTDIR)$@
    34863525 
    34873526 $(datadir)/program: lib/program lib/.datadir
    34883527-  $(INSTALL_DATA) lib/program $@
    3489 +       $(INSTALL_DATA) lib/program $@
     3528+       $(INSTALL_DATA) lib/program $(DESTDIR)$@
    34903529 
    34913530 $(datadir)/rcs: lib/rcs lib/.datadir
    34923531-  $(INSTALL_DATA) lib/rcs $@
    3493 +       $(INSTALL_DATA) lib/rcs $@
     3532+       $(INSTALL_DATA) lib/rcs $(DESTDIR)$@
    34943533 
    34953534 $(datadir)/recursive: lib/recursive lib/.datadir
    34963535-  $(INSTALL_DATA) lib/recursive $@
    3497 +       $(INSTALL_DATA) lib/recursive $@
     3536+       $(INSTALL_DATA) lib/recursive $(DESTDIR)$@
    34983537 
    34993538 $(datadir)/sccs: lib/sccs lib/.datadir
    35003539-  $(INSTALL_DATA) lib/sccs $@
    3501 +       $(INSTALL_DATA) lib/sccs $@
     3540+       $(INSTALL_DATA) lib/sccs $(DESTDIR)$@
    35023541 
    35033542 $(datadir)/text: lib/text lib/.datadir
    35043543-  $(INSTALL_DATA) lib/text $@
    3505 +       $(INSTALL_DATA) lib/text $@
     3544+       $(INSTALL_DATA) lib/text $(DESTDIR)$@
    35063545 
    35073546 $(datadir)/usr: lib/usr lib/.datadir
    35083547-  $(INSTALL_DATA) lib/usr $@
    3509 +       $(INSTALL_DATA) lib/usr $@
     3548+       $(INSTALL_DATA) lib/usr $(DESTDIR)$@
    35103549 
    35113550 $(datadir)/usr.local: lib/usr.local lib/.datadir
    35123551-  $(INSTALL_DATA) lib/usr.local $@
    3513 +       $(INSTALL_DATA) lib/usr.local $@
     3552+       $(INSTALL_DATA) lib/usr.local $(DESTDIR)$@
    35143553 
    35153554 $(datadir)/yacc: lib/yacc lib/.datadir
    35163555-  $(INSTALL_DATA) lib/yacc $@
    3517 +       $(INSTALL_DATA) lib/yacc $@
     3556+       $(INSTALL_DATA) lib/yacc $(DESTDIR)$@
    35183557 
    35193558 $(datadir)/yacc_many: lib/yacc_many lib/.datadir
    35203559-  $(INSTALL_DATA) lib/yacc_many $@
    3521 +       $(INSTALL_DATA) lib/yacc_many $@
     3560+       $(INSTALL_DATA) lib/yacc_many $(DESTDIR)$@
    35223561 
    35233562 make2cook/blob.$(OBJEXT): make2cook/blob.c make2cook/blob.h common/str.h \
     
    37973836                bin/cook_rsh$(EXEEXT) .bindir
    37983837-  $(INSTALL_SCRIPT) bin/cook_rsh$(EXEEXT) $@
    3799 +       $(INSTALL_SCRIPT) bin/cook_rsh$(EXEEXT) $@
     3838+       $(INSTALL_SCRIPT) bin/cook_rsh$(EXEEXT) $(DESTDIR)$@
    38003839 
    38013840 t0001a: test/00/t0001a.sh all
     
    46074646-  @-test -d $(datadir) && touch $@
    46084647-  @sleep 1
    4609 +       -$(INSTALL) -m 0755 -d $(datadir)
     4648+       -$(INSTALL) -m 0755 -d $(DESTDIR)$(datadir)
    46104649+       @-test -d $(datadir) && touch $@
    46114650+       @sleep 1
     
    46154654-  @-test -d $(libdir)/en/LC_MESSAGES && touch $@
    46164655-  @sleep 1
    4617 +       -$(INSTALL) -m 0755 -d $(libdir)/en/LC_MESSAGES
    4618 +       @-test -d $(libdir)/en/LC_MESSAGES && touch $@
     4656+       -$(INSTALL) -m 0755 -d $(DESTDIR)$(libdir)/en/LC_MESSAGES
     4657+       @-test -d $(DESTDIR)$(libdir)/en/LC_MESSAGES && touch $@
    46194658+       @sleep 1
    46204659 
     
    46234662-  @-test -d $(libdir)/en && touch $@
    46244663-  @sleep 1
    4625 +       -$(INSTALL) -m 0755 -d $(libdir)/en
     4664+       -$(INSTALL) -m 0755 -d $(DESTDIR)$(libdir)/en
    46264665+       @-test -d $(libdir)/en && touch $@
    46274666+       @sleep 1
     
    46314670-  @-test -d $(libdir) && touch $@
    46324671-  @sleep 1
    4633 +       -$(INSTALL) -m 0755 -d $(libdir)
     4672+       -$(INSTALL) -m 0755 -d $(DESTDIR)$(libdir)
    46344673+       @-test -d $(libdir) && touch $@
    46354674+       @sleep 1
     
    46394678-  @-test -d $(mandir)/man1 && touch $@
    46404679-  @sleep 1
    4641 +       -$(INSTALL) -m 0755 -d $(mandir)/man1
     4680+       -$(INSTALL) -m 0755 -d $(DESTDIR)$(mandir)/man1
    46424681+       @-test -d $(mandir)/man1 && touch $@
    46434682+       @sleep 1
     
    46474686-  @-test -d $(mandir) && touch $@
    46484687-  @sleep 1
    4649 +       -$(INSTALL) -m 0755 -d $(mandir)
     4688+       -$(INSTALL) -m 0755 -d $(DESTDIR)$(mandir)
    46504689+       @-test -d $(mandir) && touch $@
    46514690+       @sleep 1
     
    46554694-  @-test -d $(datadir)/en/man1 && touch $@
    46564695-  @sleep 1
    4657 +       -$(INSTALL) -m 0755 -d $(datadir)/en/man1
     4696+       -$(INSTALL) -m 0755 -d $(DESTDIR)$(datadir)/en/man1
    46584697+       @-test -d $(datadir)/en/man1 && touch $@
    46594698+       @sleep 1
     
    46634702-  @-test -d $(datadir)/en && touch $@
    46644703-  @sleep 1
    4665 +       -$(INSTALL) -m 0755 -d $(datadir)/en
     4704+       -$(INSTALL) -m 0755 -d $(DESTDIR)$(datadir)/en
    46664705+       @-test -d $(datadir)/en && touch $@
    46674706+       @sleep 1
     
    46794718                bin/c_incl$(EXEEXT) .bindir
    46804719-  $(INSTALL_PROGRAM) bin/c_incl$(EXEEXT) $@
    4681 +       $(INSTALL_PROGRAM) bin/c_incl$(EXEEXT) $@
     4720+       $(INSTALL_PROGRAM) bin/c_incl$(EXEEXT) $(DESTDIR)$@
    46824721 
    46834722 common_obj = common/ac/libintl.$(OBJEXT) common/ac/mntent.$(OBJEXT) \
     
    46934732                bin/cook$(EXEEXT) .bindir
    46944733-  $(INSTALL_PROGRAM) bin/cook$(EXEEXT) $@
    4695 +       $(INSTALL_PROGRAM) bin/cook$(EXEEXT) $@
     4734+       $(INSTALL_PROGRAM) bin/cook$(EXEEXT) $(DESTDIR)$@
    46964735 
    46974736 cook_bom_obj = cook_bom/main.$(OBJEXT) cook_bom/sniff.$(OBJEXT)
     
    47044743                bin/cook_bom$(EXEEXT) .bindir
    47054744-  $(INSTALL_PROGRAM) bin/cook_bom$(EXEEXT) $@
    4706 +       $(INSTALL_PROGRAM) bin/cook_bom$(EXEEXT) $@
     4745+       $(INSTALL_PROGRAM) bin/cook_bom$(EXEEXT) $(DESTDIR)$@
    47074746 
    47084747 cookfp_obj = cookfp/main.$(OBJEXT)
     
    47154754                bin/cookfp$(EXEEXT) .bindir
    47164755-  $(INSTALL_PROGRAM) bin/cookfp$(EXEEXT) $@
    4717 +       $(INSTALL_PROGRAM) bin/cookfp$(EXEEXT) $@
     4756+       $(INSTALL_PROGRAM) bin/cookfp$(EXEEXT) $(DESTDIR)$@
    47184757 
    47194758 cooktime_obj = cooktime/date.gen.$(OBJEXT) cooktime/main.$(OBJEXT)
     
    47264765                bin/cooktime$(EXEEXT) .bindir
    47274766-  $(INSTALL_PROGRAM) bin/cooktime$(EXEEXT) $@
    4728 +       $(INSTALL_PROGRAM) bin/cooktime$(EXEEXT) $@
     4767+       $(INSTALL_PROGRAM) bin/cooktime$(EXEEXT) $(DESTDIR)$@
    47294768 
    47304769 file_check_obj = file_check/file_check.$(OBJEXT) \
     
    47444783                bin/find_libs$(EXEEXT) .bindir
    47454784-  $(INSTALL_PROGRAM) bin/find_libs$(EXEEXT) $@
    4746 +       $(INSTALL_PROGRAM) bin/find_libs$(EXEEXT) $@
     4785+       $(INSTALL_PROGRAM) bin/find_libs$(EXEEXT) $(DESTDIR)$@
    47474786 
    47484787 fstrcmp_obj = fstrcmp/main.$(OBJEXT)
     
    47644803                bin/make2cook$(EXEEXT) .bindir
    47654804-  $(INSTALL_PROGRAM) bin/make2cook$(EXEEXT) $@
    4766 +       $(INSTALL_PROGRAM) bin/make2cook$(EXEEXT) $@
     4805+       $(INSTALL_PROGRAM) bin/make2cook$(EXEEXT) $(DESTDIR)$@
    47674806 
    47684807 roffpp_obj = roffpp/main.$(OBJEXT) roffpp/preprocess.$(OBJEXT)
     
    47754814                bin/roffpp$(EXEEXT) .bindir
    47764815-  $(INSTALL_PROGRAM) bin/roffpp$(EXEEXT) $@
    4777 +       $(INSTALL_PROGRAM) bin/roffpp$(EXEEXT) $@
     4816+       $(INSTALL_PROGRAM) bin/roffpp$(EXEEXT) $(DESTDIR)$@
    47784817 
    47794818 #
     
    48044843-  @-test -d $(bindir) && touch .bindir
    48054844-  @sleep 1
    4806 +       -$(INSTALL) -m 0755 -d $(bindir)
    4807 +       @-test -d $(bindir) && touch .bindir
     4845+       -$(INSTALL) -m 0755 -d $(DESTDIR)$(bindir)
     4846+       @-test -d $(DESTDIR)$(bindir) && touch .bindir
    48084847+       @sleep 1
    48094848 
Note: See TracChangeset for help on using the changeset viewer.