libs-base/Tools/Makefile.postamble
Nicola Pero a0d9ae53ad Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9389 72102866-910b-0410-8b05-ffd578937521
2001-03-16 22:22:54 +00:00

93 lines
2.8 KiB
Text

#
# Makefile.postamble
#
# Project specific makefile rules
#
# Uncomment the targets you want.
# The double colons (::) are important, do not make them single colons
# otherwise the normal makefile rules will not be performed.
#
# Things to do before compiling
# before-all::
# Things to do after compiling
# after-all::
# Things to do before installing
before-install::
# Things to do after installing
after-install::
@if [ ! -f $(dtddir) ]; then \
$(MKDIRS) $(dtddir); \
fi; \
for file in $(DTD_FILES); do \
$(INSTALL_DATA) $$file $(dtddir)/$$file; \
done; \
if [ ! -f $(doctemplatesdir) ]; then \
$(MKDIRS) $(doctemplatesdir); \
fi; \
for file in $(DOCTEMPLATES_FILES); do \
$(INSTALL_DATA) $$file $(doctemplatesdir)/$$file; \
done; \
if [ "`$(WHOAMI)`" != "root" ]; then \
echo ""; \
echo "************************************************************"; \
echo "FAILED gdomap installation - please re-run this as root ..."; \
echo "NOTE: gdomap MUST be installed owned by root and with"; \
echo "the 's-bit' set unless you defined 'GDOMAP_PORT_OVERRIDE' in"; \
echo "gdomap.h before compiling gdomap.c and NSPortNameServer.m"; \
echo "in which case you should install it by hand."; \
echo "If you have installed by hand, ignore this message."; \
echo "************************************************************"; \
echo ""; \
else \
echo "Making gdomap in $(GNUSTEP_INSTALLATION_DIR)/Tools/$(GNUSTEP_TARGET_DIR) setuid to root"; \
$(INSTALL) -m 05755 $(GNUSTEP_OBJ_DIR)/gdomap $(GNUSTEP_INSTALLATION_DIR)/Tools/$(GNUSTEP_TARGET_DIR); \
fi; \
echo "************************************************************"; \
echo "WARNING: if gdomap is started automatically, it will probe"; \
echo "all machines on your network periodically so that it can make"; \
echo "services on remote systems available to your local programs"; \
echo "If this is not what you want, gdomap must be started with the"; \
echo "-p flag (to disable probing) or the -c flag (to specify which"; \
echo "remote systems should be probed), and you should addd this"; \
echo "startup command to your system boot scripts!"; \
echo "************************************************************"; \
# Things to do before uninstalling
# before-uninstall::
# Things to do after uninstalling
# after-uninstall::
# Things to do before cleaning
# before-clean::
# Things to do after cleaning
# after-clean::
# Things to do before distcleaning
# before-distclean::
# Things to do after distcleaning
# after-distclean::
# Things to do before checking
# before-check::
# Things to do after checking
# after-check::
regenerate:
copy-dist: $(DIST_FILES)
mkdir ../snap/Tools
for f in $(DIST_FILES); do \
cp $$f ../snap/Tools ; \
done
documentation: gsdoc
$(GNUSTEP_OBJ_DIR)/gsdoc gsdoc