Makefile.am | Makefile.am | |||
---|---|---|---|---|
skipping to change at line 41 | skipping to change at line 41 | |||
AUTOMAKE_OPTIONS = foreign | AUTOMAKE_OPTIONS = foreign | |||
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure depcomp \ | MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure depcomp \ | |||
config.guess config.sub missing install-sh \ | config.guess config.sub missing install-sh \ | |||
autoheader automake autoconf libtool libtoolize \ | autoheader automake autoconf libtool libtoolize \ | |||
ltmain.sh compile | ltmain.sh compile | |||
ACLOCAL_AMFLAGS = -I m4 | ACLOCAL_AMFLAGS = -I m4 | |||
dist_doc_DATA = COPYING INSTALL README TODO | dist_doc_DATA = COPYING INSTALL README.markdown | |||
SUBDIRS = include lib docs tests | SUBDIRS = include lib docs tests examples | |||
doxygen: | doxygen: | |||
$(MAKE) -C docs doxygen | $(MAKE) -C docs doxygen | |||
dist-clean-local: | dist-clean-local: | |||
rm -f autoconf automake autoheader | $(AM_V_GEN)rm -f autoconf automake autoheader | |||
maintainer-clean-local: | maintainer-clean-local: | |||
rm -rf m4 | $(AM_V_GEN)rm -rf m4 | |||
$(AM_V_GEN)rm -f .version .tarball-version | ||||
clean-generic: | clean-generic: | |||
rm -rf $(SPEC) $(TARFILE) | $(AM_V_GEN)rm -rf $(SPEC) $(TARFILE) | |||
## make rpm/srpm section. | ## make rpm/srpm section. | |||
$(SPEC): $(SPEC).in | $(SPEC): $(SPEC).in | |||
rm -f $@-t $@ | $(AM_V_GEN)rm -f $@-t $@ | |||
LC_ALL=C date="$(shell date "+%a %b %d %Y")" && \ | LC_ALL=C date="$(shell date "+%a %b %d %Y")" && \ | |||
if [ -f .tarball-version ]; then \ | if [ -f .tarball-version ]; then \ | |||
gitver="$(shell cat .tarball-version)" && \ | gitver="$(shell cat .tarball-version)" && \ | |||
rpmver=$$gitver && \ | rpmver=$$gitver && \ | |||
alphatag="" && \ | alphatag="" && \ | |||
dirty="" && \ | dirty="" && \ | |||
numcomm="0"; \ | numcomm="0"; \ | |||
else \ | else \ | |||
gitver="$(shell git describe --abbrev=4 --match='v*' HEAD 2> /dev/null)" && \ | gitver="$(shell git describe --abbrev=4 --match='v*' HEAD 2> /dev/null)" && \ | |||
rpmver=`echo $$gitver | sed -e "s/^v//" -e "s/-.*//g"` && \ | rpmver=`echo $$gitver | sed -e "s/^v//" -e "s/-.*//g"` && \ | |||
skipping to change at line 96 | skipping to change at line 97 | |||
else \ | else \ | |||
sed \ | sed \ | |||
-e "s#@version@#$$rpmver#g" \ | -e "s#@version@#$$rpmver#g" \ | |||
-e "s#@alphatag@#$$alphatag#g" \ | -e "s#@alphatag@#$$alphatag#g" \ | |||
-e "s#@numcomm@#$$numcomm#g" \ | -e "s#@numcomm@#$$numcomm#g" \ | |||
-e "s#@dirty@#$$dirty#g" \ | -e "s#@dirty@#$$dirty#g" \ | |||
-e "s#@date@#$$date#g" \ | -e "s#@date@#$$date#g" \ | |||
$< > $@-t; \ | $< > $@-t; \ | |||
fi; \ | fi; \ | |||
if [ -z "$$dirty" ]; then sed -i -e "s#%glo.*dirty.*##g" $@-t; fi | if [ -z "$$dirty" ]; then sed -i -e "s#%glo.*dirty.*##g" $@-t; fi | |||
chmod a-w $@-t | $(AM_V_GEN)chmod a-w $@-t | |||
mv $@-t $@ | $(AM_V_GEN)mv $@-t $@ | |||
$(TARFILE): | $(TARFILE): | |||
$(MAKE) dist | $(MAKE) dist | |||
RPMBUILDOPTS = --define "_sourcedir $(abs_builddir)" \ | RPMBUILDOPTS = --define "_sourcedir $(abs_builddir)" \ | |||
--define "_specdir $(abs_builddir)" \ | --define "_specdir $(abs_builddir)" \ | |||
--define "_builddir $(abs_builddir)" \ | --define "_builddir $(abs_builddir)" \ | |||
--define "_srcrpmdir $(abs_builddir)" \ | --define "_srcrpmdir $(abs_builddir)" \ | |||
--define "_rpmdir $(abs_builddir)" | --define "_rpmdir $(abs_builddir)" | |||
End of changes. 7 change blocks. | ||||
8 lines changed or deleted | 9 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |