From: Michael Smith <xmldoc@users.sourceforge.net>
Date: Tue, 5 Apr 2005 14:51:36 +0000 (+0000)
Subject: tweaks to match cvstools/Release-vars.mk and Release-targets.mk changes
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4e4bd23aaddbbe0bdbeb746b6fb68c4f8bc1bf4c;p=docbook-dsssl

tweaks to match cvstools/Release-vars.mk and Release-targets.mk changes
---

diff --git a/website/Makefile b/website/Makefile
index da5c76606..c0e7a58f1 100644
--- a/website/Makefile
+++ b/website/Makefile
@@ -1,11 +1,18 @@
 # $Id$
 
 include ../cvstools/Makefile.incl
+include ../cvstools/Release-vars.mk
 
-DISTRO=website
-RELVER=$(shell cat ./VERSION)
-ZIPVER=$(RELVER)
-DISTRIB_DEPENDS=example
+DISTRO = website
+
+# value of DISTRIB_DEPENDS is a space-separated list of any
+# targets for this distro's "distrib" target to depend on
+DISTRIB_DEPENDS = example
+
+# value of ZIP_EXCLUDES is a space-separated list of any file or
+# directory names (shell wildcards OK) that should be excluded
+# from the zip file and tarball for the release
+DISTRIB_EXCLUDES = tests$$
 
 .PHONY : distrib clean example
 
@@ -25,10 +32,4 @@ realclean: clean
 	$(MAKE) -C extensions realclean
 	$(MAKE) -C example realclean
 
-# the following is used only for release builds; ignore it if you
-# are doing a non-release build
-excludes:
-	rm -f $(TMP)/tar.exclude
-	touch $(TMP)/tar.exclude
-
-include ../cvstools/Makefile.common
+include ../cvstools/Release-targets.mk