diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-02-01 11:06:59 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-02-01 11:06:59 +0100 |
commit | c140de7ce26ace99250a70d9576b9ef54518bcb2 (patch) | |
tree | eb6fa3aec55e95c1892884b745662a29652b8082 /mk/Maintainer.mk | |
parent | 8b995ae58d66333618da67432b921c78b7752862 (diff) | |
download | fbida-c140de7ce26ace99250a70d9576b9ef54518bcb2.tar.gz |
drop legacy build system
Diffstat (limited to 'mk/Maintainer.mk')
-rw-r--r-- | mk/Maintainer.mk | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/mk/Maintainer.mk b/mk/Maintainer.mk deleted file mode 100644 index b0d1c5a..0000000 --- a/mk/Maintainer.mk +++ /dev/null @@ -1,43 +0,0 @@ -# just some maintainer stuff for me ... -######################################################################## - -make-sync-dir = $(HOME)/projects/gnu-makefiles - -.PHONY: sync -sync:: distclean - test -d $(make-sync-dir) - rm -f $(srcdir)/INSTALL $(srcdir)/mk/*.mk - cp -v $(make-sync-dir)/INSTALL $(srcdir)/. - cp -v $(make-sync-dir)/*.mk $(srcdir)/mk - chmod 444 $(srcdir)/INSTALL $(srcdir)/mk/*.mk - - -repository := $(shell basename $(PWD)) -usetito := $(shell if test -d .tito; then echo yes; else echo no; fi) -release-dir ?= $(HOME)/projects/Releases -release-pub ?= bigendian.kraxel.org:/public/vhosts/www.kraxel.org/releases/$(repository) -tarball = $(release-dir)/$(repository)-$(VERSION).tar - -ifeq ($(usetito),yes) - -$(tarball).gz: - tito build --output $(release-dir) --tgz - -else - -$(tarball).gz: - git tag -m "release $(VERSION)" "$(VERSION)" - git push --tags - git archive --format=tar --prefix=$(repository)-$(VERSION)/ \ - -o $(tarball) $(VERSION) - gzip $(tarball) - -endif - -$(tarball).gz.asc: $(tarball).gz - gpg --detach-sign --armor $(tarball).gz - -.PHONY: release -release: $(tarball).gz.asc - scp $(tarball).gz* $(release-pub) - |