add sources
[ejabberd.git] / Makefile
index f74890f..02fb7c4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
 WEBFETCH               := wget
 SHA1SUM                        := sha1sum
 
 WEBFETCH               := wget
 SHA1SUM                        := sha1sum
 
-ALL                    += pyaspects
+ALL                    += ejabberd
 ejabberd-URL           := http://www.process-one.net/downloads/ejabberd/2.1.3/ejabberd-2.1.3.tar.gz
 ejabberd-SHA1SUM       := 77fdf18c0bb3b25cf9045e0c833ba4d82f180469
 ejabberd               := $(notdir $(ejabberd-URL))
 ejabberd-URL           := http://www.process-one.net/downloads/ejabberd/2.1.3/ejabberd-2.1.3.tar.gz
 ejabberd-SHA1SUM       := 77fdf18c0bb3b25cf9045e0c833ba4d82f180469
 ejabberd               := $(notdir $(ejabberd-URL))
@@ -31,7 +31,9 @@ endef
 
 $(eval $(call download_target,ejabberd))
 
 
 $(eval $(call download_target,ejabberd))
 
-sources: $(ALL)
+SOURCEFILES := $(shell cat sources 2>/dev/null | awk '{ print gensub("^.*/", "", 1, $$2) }')
+
+sources: $(ALL) $(SOURCEFILES)
 .PHONY: sources
 
 ####################
 .PHONY: sources
 
 ####################