mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-22 22:00:49 +00:00
Added and used new variable GNUSTEP_MAKE_SERVICES to solve the
make_services problem in a different way git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@9436 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cb87caa360
commit
a495c06164
1 changed files with 7 additions and 1 deletions
|
@ -113,13 +113,19 @@ svc-resource-files:: $(SERVICE_DIR_NAME)/Resources/Info-gnustep.plist svc-resour
|
|||
cp -r $(RESOURCE_FILES) $(SERVICE_DIR_NAME)/Resources; \
|
||||
fi)
|
||||
|
||||
# Allow the gui library to redefine make_services to use its local one
|
||||
ifeq ($(GNUSTEP_MAKE_SERVICES),)
|
||||
GNUSTEP_MAKE_SERVICES=make_services
|
||||
endif
|
||||
|
||||
$(SERVICE_DIR_NAME)/Resources/Info-gnustep.plist: \
|
||||
$(SERVICE_DIR_NAME)/Resources $(INTERNAL_svc_NAME)Info.plist
|
||||
@(echo "{"; echo ' NOTE = "Automatically generated, do not edit!";'; \
|
||||
echo " NSExecutable = \"$(INTERNAL_svc_NAME)\";"; \
|
||||
cat $(INTERNAL_svc_NAME)Info.plist; \
|
||||
echo "}") >$@ ;\
|
||||
if opentool make_services --test $@; then : ; else rm -f $@; false; fi
|
||||
if $(GNUSTEP_MAKE_SERVICES) --test $@; then : ; else rm -f $@; false; \
|
||||
fi
|
||||
|
||||
$(SERVICE_DIR_NAME)/Resources:
|
||||
@$(MKDIRS) $@
|
||||
|
|
Loading…
Reference in a new issue