This matches libpcap and tcpdump.
It used to be necessary for out-of-tree builds. It's no longer needed
for that, but at least it means that attempts to build a release tarball
will fail with "you're not in a git clone directory" rather than "I
can't find the VERSION file".
Now that the configure script is no longer in the repository, but is
generated by autogen.sh, and given that configure.ac gets the package
version from the VERSION file, we should probably just use
PACKAGE_VERSION in Makefile.in rather than `cat $(srcdir)/VERSION`.
grep -v 'possible pointer alignment problem'
clean:
grep -v 'possible pointer alignment problem'
clean:
- rm -f $(CLEANFILES) $(PROG)-`cat VERSION`.tar* \
+ rm -f $(CLEANFILES) $(PROG)-`cat $(srcdir)/VERSION`.tar* \
config.h.in~ configure~ configure.ac~
distclean: clean
config.h.in~ configure~ configure.ac~
distclean: clean
# their temporary directories.
#
releasetar:
# their temporary directories.
#
releasetar:
- @TAG=$(PROG)-`cat VERSION` && \
+ @TAG=$(PROG)-`cat $(srcdir)/VERSION` && \
if [ ! -d .git ]; then echo 'Not in a git clone, stop.'; exit 1; fi && \
TMPTESTFILE=`mktemp -t tmptestfile_XXXXXXXX` && \
rm -f "$$TMPTESTFILE" && \
if [ ! -d .git ]; then echo 'Not in a git clone, stop.'; exit 1; fi && \
TMPTESTFILE=`mktemp -t tmptestfile_XXXXXXXX` && \
rm -f "$$TMPTESTFILE" && \
rm -rf "$$AUTORECONF_DIR"
releasecheck: releasetar
rm -rf "$$AUTORECONF_DIR"
releasecheck: releasetar
- @TAG=$(PROG)-`cat VERSION` && \
+ @TAG=$(PROG)-`cat $(srcdir)/VERSION` && \
INSTALL_DIR=/tmp/install_"$$TAG"_$$$$ && \
DIR=`pwd` && \
cd /tmp && \
INSTALL_DIR=/tmp/install_"$$TAG"_$$$$ && \
DIR=`pwd` && \
cd /tmp && \