You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to ease packaging for Unix systems, please add a make install target, which installs everything to run cito system-wide to the appropriate directories, and which honours DESTDIR:
By default, install to a directory structure under /usr/local/,
if DESTDIR=/somedirectory is specified, install to a proper directory structure under $(DESTDIR)/.
(e.g. executable to usr/bin/cito, if shared libraries belong to the project they go into usr/lib/, documentation into usr/share/doc/cito, etc.)
My solution was to
copy <cito-build-directory>/bin/Debug/net*/* into $DESTDIR/usr/lib/cito/,
Now that cito is ported to Ć (#48), one can build it transpiled to C++. To solve the chicken-and-egg problem, Transpiled.cpp is checked into Git, so the only build dependency is a C++20 compiler, such as gcc 13 or clang 16.
make install will install the C++ binary. I will add the man page later. Not sure if installing *.md docs and /usr/share/licenses/cito/COPYING is recommended on all Linux distros?
Ahoj,
to ease packaging for Unix systems, please add a
make install
target, which installs everything to runcito
system-wide to the appropriate directories, and which honoursDESTDIR
:/usr/local/
,DESTDIR=/somedirectory
is specified, install to a proper directory structure under$(DESTDIR)/
.(e.g. executable to
usr/bin/cito
, if shared libraries belong to the project they go intousr/lib/
, documentation intousr/share/doc/cito
, etc.)My solution was to
<cito-build-directory>/bin/Debug/net*/*
into$DESTDIR/usr/lib/cito/
,chmod 755 $DESTDIR/usr/lib/cito/cito
,ln -s $DESTDIR/usr/lib/cito/cito $DESTDIR/usr/bin/cito
.(See ↗ this
PKGBUILD
.I don't know if this is sufficient.
Also, I do not want to have a debug build, but that was the only think which was produced.
Regards!
The text was updated successfully, but these errors were encountered: