mirror of
https://github.com/xroche/httrack.git
synced 2026-06-28 21:17:57 +03:00
The generated build system (configure, every Makefile.in, config.h.in, ltmain.sh, config.guess/sub, the aux scripts) was committed so a bare git clone could build without autotools. Nothing downstream relied on the committed copies: CI runs autoreconf -fi, Debian regenerates via dh_autoreconf, and the release tarball is built by make dist, which regenerates them regardless. The only cost was a recurring footgun: a stale Makefile.in after a *_SOURCES edit silently broke the plain build (undefined reference to cache_selftests), and CI could not catch it. Treat them as build products. They are now .gitignored and regenerated from configure.ac/Makefile.am by the new ./bootstrap (autoreconf -fi), and shipped only inside make dist tarballs so tarball users still need no autotools. build.sh is a one-shot wrapper (bootstrap + configure + make) that runs configure via /bin/sh, so it survives a noexec source tree. Both scripts join EXTRA_DIST. INSTALL.Linux, README.md and AGENTS.md document the git flow: ./bootstrap before ./configure, autotools required for a git build. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: Xavier Roche <roche@httrack.com>
19 lines
568 B
Makefile
19 lines
568 B
Makefile
|
|
SUBDIRS = src man m4 libtest templates lang html tests
|
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
EXTRA_DIST = INSTALL.Linux \
|
|
gpl-fr.txt license.txt greetings.txt history.txt \
|
|
httrack-doc.html lang.def README.md tools/mkdeb.sh \
|
|
bootstrap build.sh
|
|
|
|
# Build the signed Debian packages from a clean source export. Pass the signing
|
|
# key and other options through DEB_FLAGS, e.g.:
|
|
# make deb DEB_FLAGS="--key BB71C7E6CB1AD8FAF53FE42A60C3AA7180598EFB"
|
|
# See tools/mkdeb.sh --help for all options.
|
|
DEB_FLAGS =
|
|
deb:
|
|
$(SHELL) $(top_srcdir)/tools/mkdeb.sh $(DEB_FLAGS)
|
|
.PHONY: deb
|