gjtorikian / mtex2MML

A Bison grammar to convert TeX math into MathML.
23 stars 14 forks source link

make install does not install binaries, just .pc file #58

Closed jirutka closed 6 years ago

jirutka commented 7 years ago
mkdir -p build
cd build

$ cmake .. \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
    -DCMAKE_C_FLAGS="$CFLAGS" \
    -DCMAKE_VERBOSE_MAKEFILE=TRUE

$ make
$ make DESTDIR=target install
…
/usr/bin/cmake -P cmake_install.cmake
-- Install configuration: "Release"
-- Installing: … target/usr/lib/pkgconfig/libmtex2MML.pc

$ tree target/
target
└── usr
    └── lib
        └── pkgconfig
            └── libmtex2MML.pc

$ ls -1 build/
CMakeCache.txt
CMakeFiles
CTestTestfile.cmake
DartConfiguration.tcl
Makefile
Testing
cmake_install.cmake
install_manifest.txt
lexer.c
libmtex2MML.a
libmtex2MML.pc
libmtex2MML.so
libmtex2MML.so.1.3.1
mtex2MML
mtex2MML_clar
mtex2mml_export.h
parser.c
parser.h
parser.output