mirror of
https://github.com/xroche/httrack.git
synced 2026-06-28 13:07:35 +03:00
Replaces an external workstation script. mkdeb.sh exports committed HEAD plus the coucal submodule to a scratch dir, refreshes the build system and man page (reusing make -C man regen-man), builds a clean upstream tarball, overlays debian/, and runs debuild (build + lintian + signing). It takes the GPG key and options as arguments and writes nothing in the working tree. 'make deb DEB_FLAGS=...' is a thin wrapper. Honors SOURCE_DATE_EPOCH.
18 lines
545 B
Makefile
18 lines
545 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
|
|
|
|
# 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
|