Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
wcbonner committed Oct 29, 2022
2 parents 9113309 + f113153 commit 9f60397
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ deb: GoveeBTTempLogger/usr/local/bin/goveebttemplogger GoveeBTTempLogger/DEBIAN/
sed -i "s/Architecture: .*/Architecture: $(shell dpkg --print-architecture)/" GoveeBTTempLogger/DEBIAN/control
chmod a+x GoveeBTTempLogger/DEBIAN/postinst GoveeBTTempLogger/DEBIAN/postrm GoveeBTTempLogger/DEBIAN/prerm
dpkg-deb --build GoveeBTTempLogger
dpkg-name ./GoveeBTTempLogger.deb

install-deb: deb
apt install ./GoveeBTTempLogger.deb

clean:
-rm -rf GoveeBTTempLogger/usr/local/bin
-rm -f GoveeBTTempLogger.deb
git restore GoveeBTTempLogger/DEBIAN/control

.PHONY: clean deb install-deb

0 comments on commit 9f60397

Please sign in to comment.