diff options
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | common.mk | 3 | ||||
-rw-r--r-- | debian/changelog | 6 |
3 files changed, 10 insertions, 2 deletions
@@ -5,7 +5,6 @@ VERSION=$(shell dpkg-parsechangelog --show-field Version) DISTROS=base base-i386 debian10 debian11 ubuntu2004 ubuntu2204 PROJECTNAME=webserver TGZNAME=$(shell ls -t ../webserver-*.tar.xz | head -n1 | sed -e 's,^../,,') -YEAR=$(shell date +"%Y") PLUGINS= \ cgi \ fcgi \ @@ -15,7 +14,7 @@ PLUGINS= \ webbox \ weblog -CXXFLAGS+=-fPIE -DVERSION=\"$(VERSION)\" -DYEAR=\"$(YEAR)\" +CXXFLAGS+=-fPIE -DVERSION=\"$(VERSION)\" LDLIBS+=\ -lcommon \ @@ -45,6 +45,9 @@ endif CXXFLAGS+=-Wall -I. +YEAR=$(shell date +"%Y") +CXXFLAGS+=-DYEAR=\"$(YEAR)\" + CXXFLAGS+=-pthread ifeq ($(CXX),clang++-11) CXXFLAGS+=-std=c++20 #-stdlib=libc++ diff --git a/debian/changelog b/debian/changelog index deffcff..ef62294 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +webserver (1.17) unstable; urgency=medium + + * Automated date handling (year) + + -- Roland Reichwein <mail@reichwein.it> Fri, 04 Nov 2022 17:16:39 +0100 + webserver (1.16) unstable; urgency=medium * Support CGIT via CGI |