aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2012-08-26 11:37:25 +0200
committerAnders Svensson <[email protected]>2012-08-26 18:50:11 +0200
commit872db12d02ee0d9954ca52cad3fe2dcc2344fb21 (patch)
tree39367951572e76167b8c042bf11b9e8a8c129897 /lib
parentc8cf385ec5d8b8e451aac064590860079b334f79 (diff)
downloadotp-872db12d02ee0d9954ca52cad3fe2dcc2344fb21.tar.gz
otp-872db12d02ee0d9954ca52cad3fe2dcc2344fb21.tar.bz2
otp-872db12d02ee0d9954ca52cad3fe2dcc2344fb21.zip
Add realclean target to src/Makefile
To clean everything out of ebin since $(TARGET_FILES) isn't constant.
Diffstat (limited to 'lib')
-rw-r--r--lib/diameter/src/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/diameter/src/Makefile b/lib/diameter/src/Makefile
index dbfaa4e140..6a5cb1a106 100644
--- a/lib/diameter/src/Makefile
+++ b/lib/diameter/src/Makefile
@@ -1,7 +1,7 @@
#
# %CopyrightBegin%
#
-# Copyright Ericsson AB 2010-2011. All Rights Reserved.
+# Copyright Ericsson AB 2010-2012. 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
@@ -181,6 +181,10 @@ clean:
rm -f $(TARGET_FILES) gen/*
rm -f depend.mk
+realclean: clean
+ rm -f ../ebin/*
+# Not $(EBIN) just to be a bit paranoid
+
# ----------------------------------------------------
# Release targets
# ----------------------------------------------------
@@ -245,7 +249,7 @@ depend.mk: depend.sed $(MODULES:%=%.erl) Makefile
-include depend.mk
-.PHONY: app clean depend dict info release_subdir
+.PHONY: app clean realclean depend dict info release_subdir
.PHONY: debug opt release_docs_spec release_spec
.PHONY: $(TARGET_DIRS:%/=%) $(TARGET_DIRS:%/=release_src_%)
.PHONY: $(EXAMPLE_DIRS:%/=release_examples_%)