From: Barış Metin Date: Mon, 15 Mar 2010 14:16:04 +0000 (+0000) Subject: add sources X-Git-Tag: ejabberd-2.1.3-1~6 X-Git-Url: http://git.onelab.eu/?p=ejabberd.git;a=commitdiff_plain;h=11185a917af0030e505770c016f8c571ac953785 add sources --- diff --git a/Makefile b/Makefile index f74890f..02fb7c4 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ 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)) @@ -31,7 +31,9 @@ endef $(eval $(call download_target,ejabberd)) -sources: $(ALL) +SOURCEFILES := $(shell cat sources 2>/dev/null | awk '{ print gensub("^.*/", "", 1, $$2) }') + +sources: $(ALL) $(SOURCEFILES) .PHONY: sources #################### diff --git a/sources b/sources new file mode 100644 index 0000000..252a130 --- /dev/null +++ b/sources @@ -0,0 +1,7 @@ +ejabberd.init +ejabberd.logrotate +ejabberd.pam +ejabberd.spec +ejabberd.sysconfig +ejabberdctl.apps +ejabberdctl.pam