diff --git a/NEWS b/NEWS index ebe099f8..21271985 100644 --- a/NEWS +++ b/NEWS @@ -12,7 +12,7 @@ Changes in 4.0.0 (28 Oct 2022): * Support easy rebuilding the stubs from source with Podman/Docker * Add integrated doctest C++ testing framework * Add support for EFI files (PE x86; Kornel Pal) - * win32/pe and win64/pe: fix SizeOfHeaders in PE header + * win32/pe and win64/pe: set correct SizeOfHeaders in the PE header * bug fixes - see https://github.com/upx/upx/milestone/6 * bug fixes - see https://github.com/upx/upx/milestone/7 diff --git a/doc/Makefile b/doc/Makefile index c57f0b26..472360c4 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,20 +1,8 @@ # -# UPX doc Makefile - needs GNU make +# UPX doc Makefile - needs GNU make, pod2html, pod2man and pod2text # -MAKEFLAGS += -rR -.SUFFIXES: -SHELL = /bin/sh - -# internal make variables -comma := , -empty := -space := $(empty) $(empty) -tab := $(empty) $(empty) - -# /*********************************************************************** -# // -# ************************************************************************/ +BUILT_SOURCES = upx.1 upx-doc.html upx-doc.txt top_srcdir ?= .. @@ -22,15 +10,21 @@ PACKAGE = upx VERSION_DATE := $(shell sed -n 's/^.*UPX_VERSION_DATE_ISO .*"\(.*\)".*/\1/p' $(top_srcdir)/src/version.h) VERSION := $(shell sed -n 's/^.*UPX_VERSION_STRING .*"\(.*\)".*/\1/p' $(top_srcdir)/src/version.h) +# internal make variables +comma := , +empty := +space := $(empty) $(empty) +tab := $(empty) $(empty) + RTRIM := sed -e 's/[ $(tab)]*$$//' DETAB2 := sed -e 's/$(tab)/ /g' -BUILT_SOURCES = upx.1 upx-doc.html upx-doc.txt - #*********************************************************************** # targets #*********************************************************************** +.DEFAULT_GOAL = all + all: $(BUILT_SOURCES) PHONY mostlyclean clean distclean maintainer-clean: PHONY @@ -40,6 +34,7 @@ mostlyclean clean distclean maintainer-clean: PHONY # rules #*********************************************************************** +.SUFFIXES: .SUFFIXES: .1 .html .man .pod .ps .tex .txt %.1 : %.pod