mirror of https://github.com/MidnightCommander/mc
Ticket #2888: cleanups in master branch.
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
ef9d337d6f
commit
d27a4f86ea
|
@ -56,6 +56,8 @@ PKG_PROG_PKG_CONFIG
|
|||
AC_PROG_INSTALL
|
||||
AC_PROG_LN_S
|
||||
AC_PATH_PROG([PERL], [perl], [/usr/bin/perl])
|
||||
AC_PATH_PROG([PYTHON], [python], [/usr/bin/python])
|
||||
AC_PATH_PROG([RUBY], [ruby], [/usr/bin/ruby])
|
||||
|
||||
dnl Check nroff and the options it supports
|
||||
AC_CHECK_PROG(HAVE_nroff, nroff, true, false)
|
||||
|
@ -564,6 +566,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
|
||||
|
@ -603,6 +606,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 \
|
||||
|
@ -58,6 +59,7 @@ EXTFS_OUT = \
|
|||
uar \
|
||||
uarc \
|
||||
uarj \
|
||||
uc1541 \
|
||||
ucab \
|
||||
uha \
|
||||
ulha \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#! @PYTHON@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
#
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/bin/env python
|
||||
#! @PYTHON@
|
||||
"""
|
||||
UC1541 Virtual filesystem
|
||||
|
Loading…
Reference in New Issue