aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/examples/certs/Makefile
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2010-09-01 14:51:21 +0200
committerDan Gudmundsson <[email protected]>2010-09-01 14:51:21 +0200
commitff896ab624ce48a3638ef185c4ed2dfb0ddf1794 (patch)
tree4818a860427ab2df6d3a9ccfba82b7acc7385a4c /lib/ssl/examples/certs/Makefile
parente28a9a10da7efeaa8d5856acd0231a581faa48ab (diff)
downloadotp-ff896ab624ce48a3638ef185c4ed2dfb0ddf1794.tar.gz
otp-ff896ab624ce48a3638ef185c4ed2dfb0ddf1794.tar.bz2
otp-ff896ab624ce48a3638ef185c4ed2dfb0ddf1794.zip
Remove cert building from Makefiles
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: