mirror of
https://github.com/php/php-src.git
synced 2024-12-22 16:30:02 +08:00
8d3f8ca12a
The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
42 lines
850 B
Makefile
42 lines
850 B
Makefile
# Makefile to generate build tools
|
|
#
|
|
# Standard usage:
|
|
# make -f build.mk
|
|
#
|
|
# Written by Sascha Schumann
|
|
|
|
|
|
LT_TARGETS = ltmain.sh ltconfig
|
|
|
|
config_h_in = zend_config.h.in
|
|
|
|
makefile_am_files = Makefile.am
|
|
makefile_in_files = $(makefile_am_files:.am=.in)
|
|
makefile_files = $(makefile_am_files:e.am=e)
|
|
|
|
targets = $(makefile_in_files) $(LT_TARGETS) configure $(config_h_in)
|
|
|
|
all: $(targets)
|
|
|
|
clean:
|
|
rm -f $(targets)
|
|
|
|
$(LT_TARGETS):
|
|
rm -f $(LT_TARGETS)
|
|
libtoolize --automake $(AMFLAGS) -f
|
|
|
|
$(makefile_in_files): $(makefile_am_files)
|
|
automake -a -i $(AMFLAGS) $(makefile_files)
|
|
|
|
aclocal.m4: configure.ac acinclude.m4
|
|
aclocal
|
|
|
|
$(config_h_in): configure.ac
|
|
# explicitly remove target since autoheader does not seem to work
|
|
# correctly otherwise (timestamps are not updated)
|
|
@rm -f $@
|
|
autoheader
|
|
|
|
configure: aclocal.m4 configure.ac
|
|
autoconf
|