WIP: trying to correct an error with deb generation

This commit is contained in:
Adrien Bourmault 2024-02-28 10:42:01 +01:00
parent 2d737ee501
commit 6d6dceba1d
Signed by: neox
GPG Key ID: 2974E1D5F25DFCC8
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ default: debian/tyto.deb
.PHONY: clean .PHONY: clean
debian/tyto.deb: debian/debian-binary debian/control.tar.gz debian/data.tar.gz debian/tyto.deb: debian/debian-binary debian/control.tar.gz debian/data.tar.gz
ar -r debian/tyto.deb debian/debian-binary debian/control.tar.gz debian/data.tar.gz cd debian && ar -r tyto.deb debian-binary control.tar.gz data.tar.gz
debian/data.tar.gz: debian/data.tar.gz:
cd src && tar czvf ../debian/data.tar.gz usr var cd src && tar czvf ../debian/data.tar.gz usr var
@ -24,7 +24,7 @@ debian/control: debian/control_template
cat $< | sed "s/VERSION/`git describe --tags`/g" > $@ cat $< | sed "s/VERSION/`git describe --tags`/g" > $@
debian/control.tar.gz: debian/control debian/control.tar.gz: debian/control
tar czvf debian/control.tar.gz debian/control #preinst postinst prerm postrm cd debian && tar czvf control.tar.gz control #preinst postinst prerm postrm
debian/debian-binary: debian/debian-binary:
echo 2.0 > debian/debian-binary echo 2.0 > debian/debian-binary