aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/examples/certs/Makefile
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2010-09-02 15:25:14 +0200
committerDan Gudmundsson <[email protected]>2010-09-02 15:25:14 +0200
commitf0c4e27ef0a5a365cab7b1dc69dbecf7856c3f3f (patch)
tree8e5727c1244f0f8a227e2c9a70fc37fdeac65783 /lib/ssl/examples/certs/Makefile
parent68b47f68edadf2bbea608e37bdd2c426180c2d99 (diff)
parent9ed56d8518cfb33c9163be8e9de42ca8bc6979cb (diff)
downloadotp-f0c4e27ef0a5a365cab7b1dc69dbecf7856c3f3f.tar.gz
otp-f0c4e27ef0a5a365cab7b1dc69dbecf7856c3f3f.tar.bz2
otp-f0c4e27ef0a5a365cab7b1dc69dbecf7856c3f3f.zip
Merge branch 'dgud/ssl-commit-example-certs' into dev
* dgud/ssl-commit-example-certs: Cleanup ssl configure parts Remove cert building from Makefiles Checkin example certs instead of generating them.
Diffstat (limited to 'lib/ssl/examples/certs/Makefile')
-rw-r--r--lib/ssl/examples/certs/Makefile41
1 files changed, 39 insertions, 2 deletions
diff --git a/lib/ssl/examples/certs/Makefile b/lib/ssl/examples/certs/Makefile
index 121fcc6950..b811b461dc 100644
--- a/lib/ssl/examples/certs/Makefile
+++ b/lib/ssl/examples/certs/Makefile
@@ -1,7 +1,7 @@
#
# %CopyrightBegin%
#
-# Copyright Ericsson AB 2003-2009. All Rights Reserved.
+# Copyright Ericsson AB 2003-2010. All Rights Reserved.
#
# The contents of this file are subject to the Erlang Public License,
# Version 1.1, (the "License"); you may not use this file except in
@@ -21,4 +21,41 @@
# Invoke with GNU make or clearmake -C gnu.
#
-include $(ERL_TOP)/make/run_make.mk
+include $(ERL_TOP)/make/target.mk
+include $(ERL_TOP)/make/$(TARGET)/otp.mk
+
+# ----------------------------------------------------
+# Application version
+# ----------------------------------------------------
+include ../../vsn.mk
+VSN=$(SSL_VSN)
+
+# ----------------------------------------------------
+# Release directory specification
+# ----------------------------------------------------
+RELSYSDIR = $(RELEASE_PATH)/lib/ssl-$(VSN)
+
+TARGET_FILES=
+
+# ----------------------------------------------------
+# Targets
+# ----------------------------------------------------
+
+debug opt: $(TARGET_FILES)
+
+clean:
+ rm -fr $(TARGET_FILES) *~ *.beam
+
+docs:
+
+# ----------------------------------------------------
+# Release Target
+# ----------------------------------------------------
+include $(ERL_TOP)/make/otp_release_targets.mk
+
+release_spec: opt
+ $(INSTALL_DIR) $(RELSYSDIR)/examples/certs
+ tar cf - etc | \
+ (cd $(RELSYSDIR)/examples/certs; tar xf -)
+ chmod -f -R ug+rw $(RELSYSDIR)/examples
+release_docs_spec: