diff options
author | Roland Reichwein <mail@reichwein.it> | 2023-01-21 12:37:39 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2023-01-21 12:37:39 +0100 |
commit | 3d0592e9238a59df54b3e3b757a38fa2e7f0ccfb (patch) | |
tree | fc823d93d9d5b01d3071838b279ce9b14ed689e0 /Makefile | |
parent | 2e5cab6bfc5fa1b330f89ffa25c52df025efca3e (diff) |
whiteboard v1.4
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -6,8 +6,11 @@ include common.mk +PROJECTNAME=whiteboard + DISTROS=base debian11 ubuntu2210 VERSION=$(shell dpkg-parsechangelog --show-field Version) +TGZNAME=$(PROJECTNAME)-$(VERSION).tar.xz INCLUDES=-I. HEADERS=config.h qrcode.h storage.h whiteboard.h compiledsql.h @@ -61,6 +64,23 @@ $(DISTROS): deb-src sudo pbuilder build --basetgz /var/cache/pbuilder/$@.tgz --buildresult result/$@ ../whiteboard_$(VERSION).dsc debsign result/$@/whiteboard_$(VERSION)_amd64.changes +DISTFILES=$(shell git ls-files 2>/dev/null) + +dist: clean + rm -rf $(PROJECTNAME)-$(VERSION) + mkdir $(PROJECTNAME)-$(VERSION) + cp --parents -r $(DISTFILES) $(PROJECTNAME)-$(VERSION) + tar cfJ ../$(PROJECTNAME)-$(VERSION).tar.xz $(PROJECTNAME)-$(VERSION) + rm -rf $(PROJECTNAME)-$(VERSION) + ls -l ../$(PROJECTNAME)-$(VERSION).tar.xz + +upload: + scp ../$(TGZNAME) antcom.de:/var/www/reichwein.it-download/ + scp -r result antcom.de: + scp -r remote-install.sh antcom.de: + ssh antcom.de ./remote-install.sh $(PROJECTNAME) $(VERSION) + ssh antcom.de rm -rf remote-install.sh result + debs: $(DISTROS) .PHONY: clean |