X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;ds=sidebyside;f=Makefile.real;h=ce4881d29c90c8626e44d384dab14c81e15b11b8;hb=c4a57c05c9353a59db14dd57f8c911f175c63371;hp=1385bb9f97a166f8659a4256fdfd2abe6fed894e;hpb=6623b6c0796d7c02459da996eefca8a7a084ce0e;p=paraslash.git diff --git a/Makefile.real b/Makefile.real index 1385bb9f..ce4881d2 100644 --- a/Makefile.real +++ b/Makefile.real @@ -19,6 +19,7 @@ uname_s := $(shell uname -s 2>/dev/null || echo "UNKNOWN_OS") uname_rs := $(shell uname -rs) cc_version := $(shell $(CC) --version | head -n 1) GIT_VERSION := $(shell ./GIT-VERSION-GEN git-version.h) +COPYRIGHT_YEAR := 2016 ifeq ("$(origin O)", "command line") build_dir := $(O) @@ -64,9 +65,8 @@ tarball_pfx := $(PACKAGE_TARNAME)-$(GIT_VERSION) tarball_delete := $(addprefix $(tarball_pfx)/, web .gitignore) tarball := $(tarball_pfx).tar.bz2 -.PHONY: dep all clean clean2 distclean maintainer-clean install man tarball -all: dep $(prefixed_executables) $(man_pages) -dep: $(deps) +.PHONY: all clean clean2 distclean maintainer-clean install man tarball +all: $(prefixed_executables) $(man_pages) man: $(man_pages) tarball: $(tarball) @@ -91,6 +91,7 @@ $(subst u,U,$(subst v,V,$(subst w,W,$(subst x,X,$(subst y,Y,\ $(subst z,Z,$1)))))))))))))))))))))))))) CPPFLAGS += -DBINDIR='"$(bindir)"' +CPPFLAGS += -DCOPYRIGHT_YEAR='"$(COPYRIGHT_YEAR)"' CPPFLAGS += -DBUILD_DATE='"$(build_date)"' CPPFLAGS += -DUNAME_RS='"$(uname_rs)"' CPPFLAGS += -DCC_VERSION='"$(cc_version)"'