summaryrefslogtreecommitdiff
path: root/Makefile.dist
diff options
context:
space:
mode:
authorJason Fesler <jfesler@free.gigo.com>2014-04-02 19:48:27 -0700
committerJason Fesler <jfesler@free.gigo.com>2014-04-02 19:48:27 -0700
commitcb465c6f511d63b5445a640735295de967126e2c (patch)
tree4b2e5639c92e9e659bc234b07eefcaae031b501c /Makefile.dist
parente8e6401f8c7bb6ab64dbbcfc10618e792fcbd85b (diff)
downloadmod_ip-cb465c6f511d63b5445a640735295de967126e2c.tar.gz
mod_ip-cb465c6f511d63b5445a640735295de967126e2c.zip
Imported without history from https://falling-sky.googlecode.com/svn/trunk/mod_ip revision 15111.0
Diffstat (limited to 'Makefile.dist')
-rw-r--r--Makefile.dist15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile.dist b/Makefile.dist
new file mode 100644
index 0000000..2d6db26
--- /dev/null
+++ b/Makefile.dist
@@ -0,0 +1,15 @@
+DISTRIBUTE = configure config.h NOTICE README README.configuration mod_ip.c ip2asn.c ip2asn.h Makefile.in config.h.in scan-sixxs.pl
+DIST_WORKDIR = work
+
+dist-prep::
+ rm -fr $(DIST_WORKDIR)
+ mkdir -p $(DIST_WORKDIR)
+ autoconf
+ ./configure
+ cp -p $(DISTRIBUTE) $(DIST_WORKDIR)
+
+dist-test: dist-prep
+ ../dist_support/make-dist.pl --stage $(DIST_WORKDIR) --base mod_ip --branch test
+
+dist-stable: dist-prep
+ ../dist_support/make-dist.pl --stage $(DIST_WORKDIR) --base mod_ip --branch stable