mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 06:16:03 +00:00
Convert the rest of the packages to symlinking in the common directory
so that 'make dist' will work.
This commit is contained in:
@@ -18,15 +18,12 @@ NAME=apparmor-parser
|
||||
all:
|
||||
COMMONDIR=../common/
|
||||
|
||||
include Make.rules
|
||||
include common/Make.rules
|
||||
|
||||
COMMONDIR_EXISTS=$(strip $(shell [ -d ${COMMONDIR} ] && echo true))
|
||||
ifeq ($(COMMONDIR_EXISTS), true)
|
||||
Make.rules: $(COMMONDIR)/Make.rules
|
||||
ln -f $(COMMONDIR)/Make.rules .
|
||||
|
||||
po/Make.rules: $(COMMONDIR)/Make-po.rules
|
||||
make -C po Make.rules
|
||||
common/Make.rules: $(COMMONDIR)/Make.rules
|
||||
ln -sf $(COMMONDIR) .
|
||||
endif
|
||||
|
||||
DESTDIR=/
|
||||
|
@@ -14,15 +14,8 @@ all:
|
||||
# DISABLED LANGS = ar
|
||||
LANGS=bg bn bs ca cs cy da de el en_GB en_US es et fi fr gl he hi hr hu id it ja ka km ko lo lt nb nl pa pl pt_BR pt ro ru sk sl sr sv ta tr uk vi zh_CN zh_TW
|
||||
|
||||
|
||||
COMMONDIR=../../common/
|
||||
|
||||
include Make.rules
|
||||
include ../common/Make-po.rules
|
||||
../common/Make-po.rules:
|
||||
make -C .. common/Make.rules
|
||||
|
||||
XGETTEXT_ARGS+=--language=C --keyword=_ $(shell if [ -f ${NAME}.pot ] ; then echo -n -j ; fi)
|
||||
|
||||
COMMONDIR_EXISTS=$(strip $(shell [ -d ${COMMONDIR} ] && echo true))
|
||||
ifeq ($(COMMONDIR_EXISTS), true)
|
||||
Make.rules: $(COMMONDIR)/Make-po.rules
|
||||
ln -f $(COMMONDIR)/Make-po.rules $@
|
||||
endif
|
||||
|
Reference in New Issue
Block a user