mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
subtree.mk: Files were RPM-shipped with development user id
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
6290a8606d
commit
bdeb2be59b
1 changed files with 15 additions and 15 deletions
|
|
@ -1,22 +1,22 @@
|
|||
ifeq ($(DEVELOPMENT),false)
|
||||
SUBTREE_OWNER ?= root
|
||||
SUBTREE_GROUP ?= root
|
||||
SUBTREE_MODE ?= 0644
|
||||
SUBTREE_DIROWNER ?= root
|
||||
SUBTREE_DIRGROUP ?= root
|
||||
SUBTREE_DIRMODE ?= 0755
|
||||
ifneq ($(DEVELOPMENT),true)
|
||||
SUBTREE_OWNER ?= root
|
||||
SUBTREE_GROUP ?= root
|
||||
SUBTREE_MODE ?= 0644
|
||||
SUBTREE_DIROWNER ?= root
|
||||
SUBTREE_DIRGROUP ?= root
|
||||
SUBTREE_DIRMODE ?= 0755
|
||||
else
|
||||
SUBTREE_OWNER ?= $(shell id -un)
|
||||
SUBTREE_GROUP ?= $(shell id -gn)
|
||||
SUBTREE_MODE ?= 0644
|
||||
SUBTREE_DIROWNER ?= $(shell id -un)
|
||||
SUBTREE_DIRGROUP ?= $(shell id -gn)
|
||||
SUBTREE_DIRMODE ?= 0755
|
||||
SUBTREE_INSTALL_PREFIX ?= /srv/www/proj/$(PROJECT)
|
||||
SUBTREE_OWNER ?= $(shell id -un)
|
||||
SUBTREE_GROUP ?= $(shell id -gn)
|
||||
SUBTREE_MODE ?= 0644
|
||||
SUBTREE_DIROWNER ?= $(shell id -un)
|
||||
SUBTREE_DIRGROUP ?= $(shell id -gn)
|
||||
SUBTREE_DIRMODE ?= 0755
|
||||
SUBTREE_INSTALL_PREFIX ?= /srv/www/proj/$(PROJECT)
|
||||
endif
|
||||
|
||||
#ifeq ($(SUBTREE_SRC),)
|
||||
#SUBTREE_SRC = $(shell find .)
|
||||
# SUBTREE_SRC = $(shell find .)
|
||||
#endif
|
||||
|
||||
SUBTREE_DIRS += $(shell for f in `git ls-files . 2>/dev/null || find | sed 's%/[^/]\+$$%%' | sort -u | grep -v "Makefile\|GNUmakefile"`; do if [ -d "$$f" ]; then echo $$f; fi; done)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue