• Kir Kolyshkin's avatar
    compel cli: make -p optional · 2e9ae927
    Kir Kolyshkin authored
    Yet another nail in the coffin of compel cli usage complexity.
    
    Since commit cd1c9d9 ("compel: simplify usage wrt ids") landed,
    it became obvious that the newly introduced -p option can be
    made optional. First, prefix value is not very important;
    second, it can be easily generated from the input (or output)
    file name.
    
    This is what this commit does, also trying to check that
    the resulting prefix is adeqate for using in C code. In case
    it is not (say, file names used are 1.po 1.h), an error
    is printed, suggesting to use --prefix.
    
    The commit also makes use of this functionality by removing
    -p option from compel/test/infect and criu/pie Makefiles.
    
    While at it, let's also remove -l 4 and the kludge of hiding it.
    If the output generated by this is ever needed, one can easily
    run "compel hgen -l4 ..." manually.
    
    travis-ci: success for More polishing for compel cli
    Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
    Acked-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
    2e9ae927
Name
Last commit
Last update
Documentation Loading commit data...
compel Loading commit data...
contrib Loading commit data...
coredump Loading commit data...
crit Loading commit data...
criu Loading commit data...
images Loading commit data...
include/common Loading commit data...
lib Loading commit data...
scripts Loading commit data...
soccr Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
INSTALL.md Loading commit data...
Makefile Loading commit data...
Makefile.compel Loading commit data...
Makefile.config Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...