add sources
Barış Metin [Mon, 15 Mar 2010 14:16:04 +0000 (14:16 +0000)]
Makefile
sources [new file with mode: 0644]

index f74890f..02fb7c4 100644 (file)
--- 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 (file)
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