- Timestamp:
- Nov 9, 2010, 8:20:52 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.in
r298 r302 39 39 mandir = @mandir@ 40 40 datarootdir = @datarootdir@ 41 mytmpdir = @mytmpdir@ 41 42 42 43 configfile = @myconffile@ … … 530 531 install-program: $(PROGRAMS) sstrip 531 532 @$(mkinstalldirs) $(DESTDIR)$(sbindir) 533 @if test x$(mytmpdir) != x; then \ 534 $(mkinstalldirs) $(DESTDIR)$(mytmpdir); \ 535 fi 532 536 @list='$(PROGRAMS)'; for p in $$list; do \ 533 537 if test -f $$p; then \ … … 677 681 rm -f $$STAGE/@sbindir@/@install_name@_stealth; \ 678 682 echo "#! /bin/sh" > $$STAGE/setup.sh; \ 683 if test x$(mytmpdir) != x; then \ 684 echo "./mkinstalldirs @mytmpdir@ || exit 1" >> $$STAGE/setup.sh; \ 685 fi; \ 679 686 echo "./mkinstalldirs @sbindir@ || exit 1" >> $$STAGE/setup.sh; \ 680 687 echo "./mkinstalldirs @sysconfdir@ || exit 1" >> $$STAGE/setup.sh; \ … … 794 801 chmod +x debian/rules; \ 795 802 echo $(sbindir) | sed s,^/,, > debian/dirs; \ 803 if test x$(mytmpdir) != x; then \ 804 echo $(mytmpdir) | sed s,^/,, >> debian/dirs; \ 805 fi; \ 796 806 echo $(sysconfdir) | sed s,^/,, >> debian/dirs; \ 797 807 echo etc/init.d >> debian/dirs; \ … … 817 827 chmod +x debian/rules; \ 818 828 echo $(sbindir) | sed s,^/,, > debian/dirs; \ 829 if test x$(mytmpdir) != x; then \ 830 echo $(mytmpdir) | sed s,^/,, >> debian/dirs; \ 831 fi; \ 819 832 echo $(sysconfdir) | sed s,^/,, >> debian/dirs; \ 820 833 echo etc/init.d >> debian/dirs; \ -
trunk/configure.ac
r299 r302 2465 2465 AC_SUBST(mytrust) 2466 2466 2467 mytmpdir= 2468 2467 2469 AC_ARG_WITH(tmp-dir, 2468 2470 [ --with-tmp-dir=PFX set directory for temporary files [[HOME]]], 2469 2471 [ 2470 2472 if test "x${cross_compiling}" = xyes; then 2471 my _tmp_dir="$withval"2472 AC_DEFINE_UNQUOTED(SH_TMPDIR, _("${my _tmp_dir}") )2473 mytmpdir="$withval" 2474 AC_DEFINE_UNQUOTED(SH_TMPDIR, _("${mytmpdir}") ) 2473 2475 else 2474 2476 if test -d "${withval}"; then 2475 my _tmp_dir="$withval"2476 AC_DEFINE_UNQUOTED(SH_TMPDIR, _("${my _tmp_dir}") )2477 mytmpdir="$withval" 2478 AC_DEFINE_UNQUOTED(SH_TMPDIR, _("${mytmpdir}") ) 2477 2479 else 2478 my _tmp_dir="$withval"2479 AC_DEFINE_UNQUOTED(SH_TMPDIR, _("${my _tmp_dir}") )2480 mytmpdir="$withval" 2481 AC_DEFINE_UNQUOTED(SH_TMPDIR, _("${mytmpdir}") ) 2480 2482 AC_MSG_WARN([--with-tmp-dir: tmp directory ${withval} does not exist]) 2481 2483 fi … … 2483 2485 ] 2484 2486 ) 2487 2488 AC_SUBST(mytmpdir) 2489 2485 2490 2486 2491 dnl
Note:
See TracChangeset
for help on using the changeset viewer.