mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
Check perl, python and ruby programs and substitute them in various files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
978baf01be
commit
5477385d40
@ -30,6 +30,8 @@ AC_DEFINE_UNQUOTED([MC_CONFIGURE_ARGS],["$ac_configure_args"],[MC configure argu
|
||||
AC_PROG_LIBTOOL
|
||||
PKG_PROG_PKG_CONFIG
|
||||
AC_PATH_PROG([PERL], [perl], [/usr/bin/perl])
|
||||
AC_PATH_PROG([PYTHON], [python], [/usr/bin/python])
|
||||
AC_PATH_PROG([RUBY], [ruby], [/usr/bin/ruby])
|
||||
|
||||
AC_ISC_POSIX
|
||||
|
||||
@ -550,6 +552,7 @@ src/vfs/extfs/helpers/ualz
|
||||
src/vfs/extfs/helpers/uar
|
||||
src/vfs/extfs/helpers/uarc
|
||||
src/vfs/extfs/helpers/uarj
|
||||
src/vfs/extfs/helpers/uc1541
|
||||
src/vfs/extfs/helpers/ucab
|
||||
src/vfs/extfs/helpers/uha
|
||||
src/vfs/extfs/helpers/ulha
|
||||
@ -586,6 +589,7 @@ lib/vfs/Makefile
|
||||
lib/widget/Makefile
|
||||
|
||||
misc/syntax/Makefile
|
||||
misc/syntax/Syntax
|
||||
|
||||
doc/Makefile
|
||||
doc/hints/Makefile
|
||||
|
@ -5,7 +5,7 @@ SED_PARAMETERS = \
|
||||
-e "s{%sysconfdir%{@sysconfdir@{g"
|
||||
|
||||
MAN_DATE_CMD = \
|
||||
LC_ALL=$(DATE_LANG) perl -MPOSIX -e '\
|
||||
LC_ALL=$(DATE_LANG) @PERL@ -MPOSIX -e '\
|
||||
@fi=lstat("'$${MAN_FILE}'"); \
|
||||
print POSIX::strftime("$(DATE_FORMAT)", localtime($$fi[9]));' 2>/dev/null
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
SYNTAX_IN = Syntax.in
|
||||
|
||||
SYNTAX_OUT = Syntax
|
||||
|
||||
SYNTAXFILES = \
|
||||
Syntax \
|
||||
PKGBUILD.syntax \
|
||||
ada95.syntax \
|
||||
as.syntax \
|
||||
@ -76,7 +79,9 @@ SYNTAXFILES = \
|
||||
|
||||
if USE_EDIT
|
||||
syntaxdir = $(pkgdatadir)/syntax
|
||||
syntax_DATA = $(SYNTAXFILES)
|
||||
syntax_DATA = $(SYNTAX_OUT) \
|
||||
$(SYNTAXFILES)
|
||||
endif
|
||||
|
||||
EXTRA_DIST = $(SYNTAXFILES)
|
||||
EXTRA_DIST = $(SYNTAX_IN) \
|
||||
$(SYNTAXFILES)
|
||||
|
@ -171,7 +171,7 @@ include po.syntax
|
||||
|
||||
file ..\*\\.([Aa][Ss][Mm]|s|S)$ ASM\sProgram
|
||||
include assembler.syntax
|
||||
|
||||
|
||||
file ..\*\\.([Pp][Oo][Vv])$ POV\sScript
|
||||
include povray.syntax
|
||||
|
@ -6,7 +6,7 @@ EXTFSCONFFILES = sfs.ini
|
||||
EXTFS_MISC = README README.extfs
|
||||
|
||||
# Scripts hat don't need adaptation to the local system
|
||||
EXTFS_CONST = bpp changesetfs gitfs+ patchsetfs rpm trpm uc1541 u7z
|
||||
EXTFS_CONST = bpp changesetfs gitfs+ patchsetfs rpm trpm u7z
|
||||
|
||||
# Scripts that need adaptation to the local system - source files
|
||||
EXTFS_IN = \
|
||||
@ -29,6 +29,7 @@ EXTFS_IN = \
|
||||
uar.in \
|
||||
uarc.in \
|
||||
uarj.in \
|
||||
uc1541.in \
|
||||
ucab.in \
|
||||
uha.in \
|
||||
ulha.in \
|
||||
@ -57,6 +58,7 @@ EXTFS_OUT = \
|
||||
uar \
|
||||
uarc \
|
||||
uarj \
|
||||
uc1541 \
|
||||
ucab \
|
||||
uha \
|
||||
ulha \
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python
|
||||
#! @PYTHON@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
#
|
||||
|
2
src/vfs/extfs/helpers/uc1541 → src/vfs/extfs/helpers/uc1541.in
Executable file → Normal file
2
src/vfs/extfs/helpers/uc1541 → src/vfs/extfs/helpers/uc1541.in
Executable file → Normal file
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/env python
|
||||
#! @PYTHON@
|
||||
"""
|
||||
UC1541 Virtual filesystem
|
||||
|
Loading…
Reference in New Issue
Block a user