mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
Everywhere: Remove everything non-essential for "make clean all"
This commit removes everything not strictly necessary for running "make clean all" inside jw-build. packaging jw-devtest. This cuts the repo down from 24077 to 4725 lines of code. The idea is to 1) Further remove bloat from the remaining bits 2) Re-add what's necessary to build and package other essential repos. The decision should be based on whether or not jw-build can also be useful in a non-janware context. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
c36c83c164
commit
bc883deed4
199 changed files with 0 additions and 18851 deletions
|
|
@ -1,16 +0,0 @@
|
|||
BACKUP_SOURCE ?= .
|
||||
BACKUP_TARGET ?= ..
|
||||
BACKUP_DATE ?= $(shell date +'%y%m%d-%H%M%S')
|
||||
|
||||
_BACKUP_SOURCE = $(notdir $(shell cd $(BACKUP_SOURCE); $(PWD)))
|
||||
|
||||
ifndef BACKUP_MK_INCLUDED
|
||||
BACKUP_MK_INCLUDED = true
|
||||
|
||||
backup: distclean
|
||||
tar -C .. $(_BACKUP_SOURCE) -cjf $(BACKUP_TARGET)/$(_BACKUP_SOURCE)-$(BACKUP_DATE).tar.bz2
|
||||
|
||||
purge-last-backup:
|
||||
$(RM) -f $(shell ls $(BACKUP_TARGET)/$(_BACKUP_SOURCE)-*.tar.bz2 | tail -1)
|
||||
|
||||
endif # ifndef BACKUP_MK_INCLUDED
|
||||
Loading…
Add table
Add a link
Reference in a new issue