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:
Nicola Pero 2001-03-18 16:03:44 +00:00
parent cb87caa360
commit a495c06164

View file

@ -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) $@