~jelmer/qbrz/relative

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: RJL situp
  • Date: 2020-07-16 10:52:19 UTC
  • Revision ID: it@file-away.co.uk-20200716105219-tga8xgs3bcqvhqds
Corrected Makefile (again) to raise error if RELEASE is not set, and to remove previously generated signature files

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
# pot:
21
21
#       python3 setup.py build_pot -N -d.
22
22
 
 
23
.check-env-vars:
 
24
        @test $${RELEASE?RELEASE is undefined. To To build release run make release with RELEASE=X.Y.Z}
 
25
 
23
26
mo:
24
27
        python3 setup.py build_mo -f --verbose
25
28
 
26
 
tarball:
27
 
        ifndev RELEASE
28
 
                $(error RELEASE is undefined. To To build release run make release with RELEASE=X.Y.Z)
29
 
        endif
 
29
tarball: .check-env-vars
30
30
        brz export --root=qbrz qbrz-$(RELEASE).tar.gz
 
31
        rm -f qbrz-$(RELEASE).tar.gz.asc
31
32
        gpg2 -ab qbrz-$(RELEASE).tar.gz
32
33
 
33
34
# RJL needs to come back in
34
35
# inno: mo
35
36
#       ./iscc installer/qbrz-setup.iss
36
37
#       gpg -ab qbrz-setup-$(RELEASE).exe
37
 
inno:
38
 
        ifndev RELEASE
39
 
                $(error RELEASE is undefined. To To build release run make release with RELEASE=X.Y.Z)
40
 
        endif
 
38
inno: .check-env-vars
41
39
        ./iscc installer/qbrz-setup.iss
 
40
        rm -f qbrz-setup-$(RELEASE).exe.asc
42
41
        gpg2 -ab qbrz-setup-$(RELEASE).exe
43
42
 
44
43
# release: tarball inno