Makefile and config.mk #2

Merged
charlie merged 1 commit from verysmallrat/cvsh:feature/makefile into main 2026-06-17 09:01:05 +01:00
Member

I dunno if you want to do this via Make, just read discord that you were going to do build.sh and a Makefile seemed more appropriate for what this is.

Installs to /usr/bin as that would be convention for shells, and is thus more portable for people using systems installing this that aren't on vlos.

To install via Makefile in build.sh for vulpine we would just override the PREFIX variable;

git clone -b feature/makefile https://forge.dnsrail.org/verysmallrat/cvsh
cd cvsh
make DESTDIR=../rootfs PREFIX= install
cd ..

Obviously changing the git clone command in the above.

This way cvsh still installs to /bin on vlos instead of /usr/bin.

image

Compiles and builds fine per attached screenshot on Arch Linux 7.0.11.

I dunno if you want to do this via Make, just read discord that you were going to do build.sh and a Makefile seemed more appropriate for what this is. Installs to /usr/bin as that would be convention for shells, and is thus more portable for people using systems installing this that *aren't* on vlos. To install via Makefile in build.sh for vulpine we would just override the PREFIX variable; ```echo "[*] Compiling latest Vulpine Shell" git clone -b feature/makefile https://forge.dnsrail.org/verysmallrat/cvsh cd cvsh make DESTDIR=../rootfs PREFIX= install cd .. ``` Obviously changing the git clone command in the above. This way cvsh still installs to /bin on vlos instead of /usr/bin. ![image](/attachments/66ca5fbf-f7b6-4fa1-be21-d7350b80337d) Compiles and builds fine per attached screenshot on Arch Linux 7.0.11.
verysmallrat 2026-06-17 07:27:11 +01:00
Author
Member

Install otherwise via sudo make clean install to test if unfamiliar with makefiles. Will install as stated to /usr/bin (or, should install).

Install otherwise via `sudo make clean install` to test if unfamiliar with makefiles. Will install as stated to /usr/bin (or, should install).
charlie locked and limited conversation to collaborators 2026-06-17 09:01:14 +01:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
vulpinelinux/cvsh!2
No description provided.