[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sysvinit-devel] [PATCH 5/6] build: Refactor latest tarball name into a
From: |
Guillem Jover |
Subject: |
[sysvinit-devel] [PATCH 5/6] build: Refactor latest tarball name into a new variable |
Date: |
Fri, 4 May 2018 23:31:44 +0200 |
This makes changing it easier in the future.
Signed-off-by: Guillem Jover <address@hidden>
---
Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 52b96a9..91e3966 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,7 @@ all install clean distclean:
PACKAGE=sysvinit
VERSION=$(shell git describe --tags --abbrev=4 HEAD 2>/dev/null | tr %_ :~)
override TARBALL=$(PACKAGE)-$(VERSION).tar.bz2
+override TARBALL_LATEST=$(PACKAGE)-latest.tar.bz2
override SFTPBATCH=upload-$(VERSION)-sftpbatch
dist: $(TARBALL)
@@ -18,8 +19,8 @@ $(SFTPBATCH): $(TARBALL).sig
@echo chmod 664 $(notdir $(TARBALL)) >> $@
@echo put $(TARBALL).sig >> $@
@echo chmod 664 $(notdir $(TARBALL)).sig >> $@
- @echo rm $(PACKAGE)-latest.tar.bz2 >> $@
- @echo symlink $(notdir $(TARBALL)) $(PACKAGE)-latest.tar.bz2 >> $@
+ @echo rm $(TARBALL_LATEST) >> $@
+ @echo symlink $(notdir $(TARBALL)) $(TARBALL_LATEST) >> $@
@echo quit >> $@
$(TARBALL).sig: $(TARBALL)
--
2.17.0.441.gb46fe60e1d
- [sysvinit-devel] [PATCH 0/6] Cleanups, Guillem Jover, 2018/05/04
- [sysvinit-devel] [PATCH 3/6] doc: Remove obsolete LSM file, Guillem Jover, 2018/05/04
- [sysvinit-devel] [PATCH 5/6] build: Refactor latest tarball name into a new variable,
Guillem Jover <=
- [sysvinit-devel] [PATCH 2/6] contrib: Remove very obsolete start-stop-daemon embedded copy, Guillem Jover, 2018/05/04
- [sysvinit-devel] [PATCH 1/6] Add new .gitignore files, Guillem Jover, 2018/05/04
- [sysvinit-devel] [PATCH 4/6] build: Fix dist targets, Guillem Jover, 2018/05/04