mirror of
https://github.com/gnustep/tools-make.git
synced 2025-05-31 09:21:19 +00:00
Removed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@8628 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ce8632fdb8
commit
c5c4da3a00
1 changed files with 0 additions and 82 deletions
|
@ -1,82 +0,0 @@
|
|||
#
|
||||
# file-list.make
|
||||
#
|
||||
# Makefile rules to build the list of files installed by *any*
|
||||
# GNUstep software controlled by the GNUstep make package
|
||||
#
|
||||
# Copyright (C) 2001 Free Software Foundation, Inc.
|
||||
#
|
||||
# Author: Nicola Pero <n.pero@mi.flashnet.it>
|
||||
#
|
||||
# This file is part of the GNUstep Makefile Package.
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License
|
||||
# as published by the Free Software Foundation; either version 2
|
||||
# of the License, or (at your option) any later version.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public
|
||||
# License along with this library; see the file COPYING.LIB.
|
||||
# If not, write to the Free Software Foundation,
|
||||
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
#
|
||||
# To create the file-list for your package, just type:
|
||||
# make filelist=yes install
|
||||
# This will run `install' but, instead of installing, build the file list.
|
||||
#
|
||||
# Warning: this is alpha design as of Jan 2001. In the near future the
|
||||
# mechanism could be changed if we see it doesn't work or a better solution
|
||||
# is found.
|
||||
#
|
||||
|
||||
# prevent multiple inclusions
|
||||
ifeq ($(FILE_LIST_MAKE_LOADED),)
|
||||
FILE_LIST_MAKE_LOADED=yes
|
||||
|
||||
# If filelist=yes, redefine all installation programs to log what they
|
||||
# are installing/creating into the file-list.
|
||||
ifeq ($(filelist),yes)
|
||||
INSTALL_DATA = $(GNUSTEP_MAKEFILES)/log_install.sh
|
||||
INSTALL_PROGRAM = $(GNUSTEP_MAKEFILES)/log_install.sh
|
||||
INSTALL_COMPLETE_DIR = $(GNUSTEP_MAKEFILES)/log_install_dir.sh
|
||||
INSTALL_LN_S = $(GNUSTEP_MAKEFILES)/log_install_ln_s.sh
|
||||
# Disabled not to remove anything
|
||||
REMOVE_INSTALLED_LN_S = echo > /dev/null
|
||||
REMOVE_INSTALLED_DIR = echo > /dev/null
|
||||
|
||||
# Mkdirs does no harm, rather it allows our log_install.sh to determine
|
||||
# whether something is a directory or a file, and this is needed
|
||||
# MKDIRS =
|
||||
|
||||
# The logging programs can get which file to log to by reading the
|
||||
# environment variable `FILE_LIST'.
|
||||
|
||||
# Set it once for all at the top-level
|
||||
ifeq ($(MAKELEVEL),0)
|
||||
ifeq ($(debug),yes)
|
||||
FILE_LIST = $(shell pwd)/file-list-debug
|
||||
else
|
||||
FILE_LIST = $(shell pwd)/file-list
|
||||
endif
|
||||
# and then pass it down to sub-makes and to the logging programs
|
||||
export FILE_LIST
|
||||
|
||||
# Finally, remove file-list at the very beginning, and set attr
|
||||
before-install::
|
||||
-rm -f file-list
|
||||
echo "%attr (-, root, root)" >> $(FILE_LIST)
|
||||
|
||||
endif # MAKELEVEL == 0
|
||||
endif # filelist == yes
|
||||
|
||||
|
||||
endif # file-list.make loaded
|
||||
|
||||
## Local variables:
|
||||
## mode: makefile
|
||||
## End:
|
||||
|
||||
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue