2023-01-30 05:58:38 -06:00
|
|
|
.PHONY: cargo-ui
|
|
|
|
|
|
|
|
all:
|
|
|
|
wit mirrors
|
|
|
|
|
|
|
|
cargo-ui:
|
|
|
|
cd cargo-ui && make
|
|
|
|
make all
|
|
|
|
|
2023-01-29 00:57:35 -06:00
|
|
|
help:
|
|
|
|
@echo
|
|
|
|
@echo "# this are just simple shortcuts to package up files on a system once you have it compiled and installed"
|
|
|
|
@echo "cd <projectName>; make all"
|
|
|
|
@echo
|
|
|
|
|
|
|
|
#
|
|
|
|
# Just for reference, you can make a debian package using 'ar' from the command line
|
|
|
|
#
|
|
|
|
# A .deb file is just output from 'ar rcs'
|
|
|
|
#
|
|
|
|
tar-ar:
|
|
|
|
cd DEBIAN && tar --ignore-failed-read -cvJf ../control.tar.xz .
|
|
|
|
cd files && tar -cvJf ../data.tar.xz .
|
|
|
|
ar rcs ${BASENAME}_${VERSION}_amd64.deb debian-binary control.tar.xz data.tar.xz
|
|
|
|
dpkg-deb --info ${BASENAME}_${VERSION}_amd64.deb
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf files/
|
|
|
|
rm -f *.deb
|
|
|
|
rm -f *.tar.xz data.tar.xz
|
|
|
|
rm -rf */DEBIAN/
|